r2context.h   r2context.h 
skipping to change at line 227 skipping to change at line 227
char *openr2_context_get_log_directory(openr2_context_t *r2context, char *d irectory, int len); char *openr2_context_get_log_directory(openr2_context_t *r2context, char *d irectory, int len);
void openr2_context_set_mf_back_timeout(openr2_context_t *r2context, int ms ); void openr2_context_set_mf_back_timeout(openr2_context_t *r2context, int ms );
int openr2_context_get_mf_back_timeout(openr2_context_t *r2context); int openr2_context_get_mf_back_timeout(openr2_context_t *r2context);
void openr2_context_set_metering_pulse_timeout(openr2_context_t *r2context, int ms); void openr2_context_set_metering_pulse_timeout(openr2_context_t *r2context, int ms);
int openr2_context_get_metering_pulse_timeout(openr2_context_t *r2context); int openr2_context_get_metering_pulse_timeout(openr2_context_t *r2context);
void openr2_context_set_double_answer(openr2_context_t *r2context, int enab le); void openr2_context_set_double_answer(openr2_context_t *r2context, int enab le);
int openr2_context_get_double_answer(openr2_context_t *r2context); int openr2_context_get_double_answer(openr2_context_t *r2context);
int openr2_context_configure_from_advanced_file(openr2_context_t *r2context , const char *filename); int openr2_context_configure_from_advanced_file(openr2_context_t *r2context , const char *filename);
void openr2_context_set_dtmf_detection(openr2_context_t *r2context, int ena ble); void openr2_context_set_dtmf_detection(openr2_context_t *r2context, int ena ble);
int openr2_context_get_dtmf_detection(openr2_context_t *r2context); int openr2_context_get_dtmf_detection(openr2_context_t *r2context);
void openr2_context_set_dtmf_detection_end_timeout(openr2_context_t *r2cont
ext, int dtmf_end);
int openr2_context_get_dtmf_detection_end_timeout(openr2_context_t *r2conte
xt);
void openr2_context_set_dtmf_dialing(openr2_context_t *r2context, int enabl e, int dtmf_on, int dtmf_off); void openr2_context_set_dtmf_dialing(openr2_context_t *r2context, int enabl e, int dtmf_on, int dtmf_off);
int openr2_context_get_dtmf_dialing(openr2_context_t *r2context, int *dtmf_ on, int *dtmf_off); int openr2_context_get_dtmf_dialing(openr2_context_t *r2context, int *dtmf_ on, int *dtmf_off);
int openr2_context_set_dtmf_interface(openr2_context_t *r2context, openr2_d tmf_interface_t *dtmf_interface); int openr2_context_set_dtmf_interface(openr2_context_t *r2context, openr2_d tmf_interface_t *dtmf_interface);
#ifdef __OR2_COMPILING_LIBRARY__ #ifdef __OR2_COMPILING_LIBRARY__
#undef openr2_chan_t #undef openr2_chan_t
#undef openr2_context_t #undef openr2_context_t
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added


 r2proto.h   r2proto.h 
skipping to change at line 100 skipping to change at line 100
} openr2_mf_tone_t; } openr2_mf_tone_t;
/* MFC/R2 variants */ /* MFC/R2 variants */
typedef enum { typedef enum {
OR2_VAR_ARGENTINA = 0, OR2_VAR_ARGENTINA = 0,
OR2_VAR_BRAZIL = 20, OR2_VAR_BRAZIL = 20,
OR2_VAR_CHINA = 40, OR2_VAR_CHINA = 40,
OR2_VAR_CZECH = 60, OR2_VAR_CZECH = 60,
OR2_VAR_COLOMBIA = 70, OR2_VAR_COLOMBIA = 70,
OR2_VAR_ECUADOR = 80, OR2_VAR_ECUADOR = 80,
OR2_VAR_INDONESIA = 90,
OR2_VAR_ITU = 100, OR2_VAR_ITU = 100,
OR2_VAR_MEXICO = 120, OR2_VAR_MEXICO = 120,
OR2_VAR_PHILIPPINES = 140, OR2_VAR_PHILIPPINES = 140,
OR2_VAR_VENEZUELA = 160, OR2_VAR_VENEZUELA = 160,
OR2_VAR_UNKNOWN = 999 OR2_VAR_UNKNOWN = 999
} openr2_variant_t; } openr2_variant_t;
/* Variant configuration function and variant table entry */ /* Variant configuration function and variant table entry */
typedef void (*openr2_variant_config_func)(openr2_context_t *); typedef void (*openr2_variant_config_func)(openr2_context_t *);
typedef struct { typedef struct {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 r2utils.h   r2utils.h 
skipping to change at line 29 skipping to change at line 29
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
#ifndef _OPENR2_UTILS_H_ #ifndef _OPENR2_UTILS_H_
#define _OPENR2_UTILS_H_ #define _OPENR2_UTILS_H_
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
#define OR2_LIB_INTERFACE 3 #define OR2_LIB_INTERFACE 4
#define OR2_LIB_REVISION 0 #define OR2_LIB_REVISION 0
#define OR2_LIB_AGE 0 #define OR2_LIB_AGE 1
const char *openr2_get_version(void); const char *openr2_get_version(void);
const char *openr2_get_revision(void); const char *openr2_get_revision(void);
int openr2_strncasecmp(const char *s1, const char *s2, size_t n); int openr2_strncasecmp(const char *s1, const char *s2, size_t n);
#if defined(__cplusplus) #if defined(__cplusplus)
} /* endif extern "C" */ } /* endif extern "C" */
#endif #endif
#endif /* endif defined _OPENR2_UTILS_H_ */ #endif /* endif defined _OPENR2_UTILS_H_ */
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/