From eb89a3f159e6acec034e6382d402b325d6a7bf7b Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 16 Jun 2015 15:59:39 +0200 Subject: [PATCH] proxy.c: move documentation to header --- coreapi/linphonecore.h | 4 ++++ coreapi/proxy.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/coreapi/linphonecore.h b/coreapi/linphonecore.h index d1d6f98f1..fa4b5fefc 100644 --- a/coreapi/linphonecore.h +++ b/coreapi/linphonecore.h @@ -899,6 +899,10 @@ LINPHONE_PUBLIC void linphone_proxy_config_set_user_data(LinphoneProxyConfig *cf LINPHONE_PUBLIC int linphone_proxy_config_set_server_addr(LinphoneProxyConfig *obj, const char *server_addr); LINPHONE_PUBLIC int linphone_proxy_config_set_identity(LinphoneProxyConfig *obj, const char *identity); LINPHONE_PUBLIC int linphone_proxy_config_set_route(LinphoneProxyConfig *obj, const char *route); + +/** + * Sets the registration expiration time in seconds. +**/ LINPHONE_PUBLIC void linphone_proxy_config_set_expires(LinphoneProxyConfig *obj, int expires); #define linphone_proxy_config_expires linphone_proxy_config_set_expires diff --git a/coreapi/proxy.c b/coreapi/proxy.c index 2417887a1..b644db353 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -345,9 +345,6 @@ void linphone_proxy_config_enableregister(LinphoneProxyConfig *obj, bool_t val){ obj->reg_sendregister=val; } -/** - * Sets the registration expiration time in seconds. -**/ void linphone_proxy_config_set_expires(LinphoneProxyConfig *obj, int val){ if (val<0) val=600; obj->expires=val;