| 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 | |
|
| 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 | |
|