forked from mirrors/linphone-iphone
proxy.c: move documentation to header
This commit is contained in:
parent
98628e52b9
commit
eb89a3f159
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue