From 0666c4e41f1d0d940f7ab826454a973833a593a5 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 15 Mar 2013 12:14:50 +0100 Subject: [PATCH] More linphonecore exports --- coreapi/linphonecore.c | 2 +- coreapi/linphonecore.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 64baf7ef4..d979c8700 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -4993,7 +4993,7 @@ void linphone_core_play_dtmf(LinphoneCore *lc, char dtmf, int duration_ms){ return; } - if (duration_ms>0) + if (duration_ms > 0) ms_filter_call_method(f, MS_DTMF_GEN_PLAY, &dtmf); else ms_filter_call_method(f, MS_DTMF_GEN_START, &dtmf); } diff --git a/coreapi/linphonecore.h b/coreapi/linphonecore.h index d3d417c7b..84aa16932 100644 --- a/coreapi/linphonecore.h +++ b/coreapi/linphonecore.h @@ -394,7 +394,7 @@ bool_t linphone_call_camera_enabled(const LinphoneCall *lc); int linphone_call_take_video_snapshot(LinphoneCall *call, const char *file); LINPHONE_PUBLIC LinphoneReason linphone_call_get_reason(const LinphoneCall *call); const char *linphone_call_get_remote_user_agent(LinphoneCall *call); -const char *linphone_call_get_remote_contact(LinphoneCall *call); +LINPHONE_PUBLIC const char *linphone_call_get_remote_contact(LinphoneCall *call); float linphone_call_get_play_volume(LinphoneCall *call); float linphone_call_get_record_volume(LinphoneCall *call); float linphone_call_get_current_quality(LinphoneCall *call); @@ -1299,8 +1299,8 @@ void linphone_core_use_files(LinphoneCore *lc, bool_t yesno); void linphone_core_set_play_file(LinphoneCore *lc, const char *file); void linphone_core_set_record_file(LinphoneCore *lc, const char *file); -void linphone_core_play_dtmf(LinphoneCore *lc, char dtmf, int duration_ms); -void linphone_core_stop_dtmf(LinphoneCore *lc); +LINPHONE_PUBLIC void linphone_core_play_dtmf(LinphoneCore *lc, char dtmf, int duration_ms); +LINPHONE_PUBLIC void linphone_core_stop_dtmf(LinphoneCore *lc); int linphone_core_get_current_call_duration(const LinphoneCore *lc);