Publish ref and unref functions of LinphoneAuthInfo

This commit is contained in:
François Grisez 2017-03-17 15:03:47 +01:00
parent d62c40f04c
commit 480724b1bb

View file

@ -61,6 +61,16 @@ LINPHONE_PUBLIC LinphoneAuthInfo *linphone_auth_info_new(const char *username, c
*/
LINPHONE_PUBLIC LinphoneAuthInfo *linphone_auth_info_clone(const LinphoneAuthInfo* source);
/**
* Take a reference on a #LinphoneAuthInfo.
*/
LINPHONE_PUBLIC LinphoneAuthInfo *linphone_auth_info_ref(LinphoneAuthInfo *info);
/**
* Release a #LinphoneAuthInfo.
*/
LINPHONE_PUBLIC void linphone_auth_info_unref(LinphoneAuthInfo *info);
/**
* Sets the password.
* @param[in] info The #LinphoneAuthInfo object
@ -204,7 +214,7 @@ LINPHONE_PUBLIC const char *linphone_auth_info_get_tls_cert_path(const LinphoneA
LINPHONE_PUBLIC const char *linphone_auth_info_get_tls_key_path(const LinphoneAuthInfo *info);
/* you don't need those function*/
LINPHONE_PUBLIC void linphone_auth_info_destroy(LinphoneAuthInfo *info);
LINPHONE_PUBLIC LINPHONE_DEPRECATED void linphone_auth_info_destroy(LinphoneAuthInfo *info);
/**
* @}