From 4ab5ec9232d0bfb4fa4ff7bb7ded23e7db7b9d40 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Fri, 15 Feb 2013 14:21:04 +0100 Subject: [PATCH] API fixups and cleanups. --- coreapi/linphonecall.c | 2 +- coreapi/linphonecore.h | 4 +--- mediastreamer2 | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 31b945ac..6a39783e 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -1100,7 +1100,7 @@ void linphone_call_params_add_custom_header(LinphoneCallParams *params, const ch params->custom_headers=sal_custom_header_append(params->custom_headers,header_name,header_value); } -const char *linphone_call_params_get_custom_header(LinphoneCallParams *params, const char *header_name){ +const char *linphone_call_params_get_custom_header(const LinphoneCallParams *params, const char *header_name){ return sal_custom_header_find(params->custom_headers,header_name); } diff --git a/coreapi/linphonecore.h b/coreapi/linphonecore.h index 1de97d0b..774ef925 100644 --- a/coreapi/linphonecore.h +++ b/coreapi/linphonecore.h @@ -37,14 +37,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern "C" { #endif -struct _MSSndCard; struct _LinphoneCore; /** * Linphone core main object created by function linphone_core_new() . * @ingroup initializing */ typedef struct _LinphoneCore LinphoneCore; -struct SalOp; struct _LpConfig; @@ -201,7 +199,7 @@ void linphone_call_params_enable_low_bandwidth(LinphoneCallParams *cp, bool_t en void linphone_call_params_set_record_file(LinphoneCallParams *cp, const char *path); const char *linphone_call_params_get_record_file(const LinphoneCallParams *cp); void linphone_call_params_add_custom_header(LinphoneCallParams *params, const char *header_name, const char *header_value); -const char *linphone_call_params_get_custom_header(LinphoneCallParams *params, const char *header_name); +const char *linphone_call_params_get_custom_header(const LinphoneCallParams *params, const char *header_name); /** * Enum describing failure reasons. * @ingroup initializing diff --git a/mediastreamer2 b/mediastreamer2 index eeaab223..44992c09 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit eeaab2239d6545f18d5219b62adda8d1dda3b104 +Subproject commit 44992c096673ace578ba5248db7019ba1e0d78d5 -- 2.39.2