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;