]> sjero.net Git - linphone/commitdiff
API fixups and cleanups.
authorSimon Morlat <simon.morlat@linphone.org>
Fri, 15 Feb 2013 13:21:04 +0000 (14:21 +0100)
committerSimon Morlat <simon.morlat@linphone.org>
Fri, 15 Feb 2013 13:21:34 +0000 (14:21 +0100)
coreapi/linphonecall.c
coreapi/linphonecore.h
mediastreamer2

index 31b945acb4d5b54547991640ef0e8d83a136b097..6a39783e754ed01f64d38ba0d999e7f7ff49745d 100644 (file)
@@ -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);
 }
 
index 1de97d0b015e451948f138a098bae3e2b432ea55..774ef925b5f712e556e146de1567e3f29b38a600 100644 (file)
@@ -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
index eeaab2239d6545f18d5219b62adda8d1dda3b104..44992c096673ace578ba5248db7019ba1e0d78d5 160000 (submodule)
@@ -1 +1 @@
-Subproject commit eeaab2239d6545f18d5219b62adda8d1dda3b104
+Subproject commit 44992c096673ace578ba5248db7019ba1e0d78d5