mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 19:48:07 +00:00
Add exports.
This commit is contained in:
parent
6702bf8a32
commit
fd7d18bf5a
2 changed files with 23 additions and 23 deletions
|
|
@ -91,7 +91,7 @@ LINPHONE_PUBLIC const char *linphone_address_get_domain(const LinphoneAddress *u
|
|||
* Get port number as an integer value.
|
||||
*
|
||||
*/
|
||||
int linphone_address_get_port_int(const LinphoneAddress *u);
|
||||
LINPHONE_PUBLIC int linphone_address_get_port_int(const LinphoneAddress *u);
|
||||
/**
|
||||
* Get port number, null if not present.
|
||||
*/
|
||||
|
|
@ -625,17 +625,17 @@ typedef struct _LinphoneAuthInfo LinphoneAuthInfo;
|
|||
|
||||
LINPHONE_PUBLIC LinphoneAuthInfo *linphone_auth_info_new(const char *username, const char *userid,
|
||||
const char *passwd, const char *ha1,const char *realm);
|
||||
void linphone_auth_info_set_passwd(LinphoneAuthInfo *info, const char *passwd);
|
||||
void linphone_auth_info_set_username(LinphoneAuthInfo *info, const char *username);
|
||||
void linphone_auth_info_set_userid(LinphoneAuthInfo *info, const char *userid);
|
||||
void linphone_auth_info_set_realm(LinphoneAuthInfo *info, const char *realm);
|
||||
void linphone_auth_info_set_ha1(LinphoneAuthInfo *info, const char *ha1);
|
||||
LINPHONE_PUBLIC void linphone_auth_info_set_passwd(LinphoneAuthInfo *info, const char *passwd);
|
||||
LINPHONE_PUBLIC void linphone_auth_info_set_username(LinphoneAuthInfo *info, const char *username);
|
||||
LINPHONE_PUBLIC void linphone_auth_info_set_userid(LinphoneAuthInfo *info, const char *userid);
|
||||
LINPHONE_PUBLIC void linphone_auth_info_set_realm(LinphoneAuthInfo *info, const char *realm);
|
||||
LINPHONE_PUBLIC void linphone_auth_info_set_ha1(LinphoneAuthInfo *info, const char *ha1);
|
||||
|
||||
const char *linphone_auth_info_get_username(const LinphoneAuthInfo *i);
|
||||
const char *linphone_auth_info_get_passwd(const LinphoneAuthInfo *i);
|
||||
const char *linphone_auth_info_get_userid(const LinphoneAuthInfo *i);
|
||||
const char *linphone_auth_info_get_realm(const LinphoneAuthInfo *i);
|
||||
const char *linphone_auth_info_get_ha1(const LinphoneAuthInfo *i);
|
||||
LINPHONE_PUBLIC const char *linphone_auth_info_get_username(const LinphoneAuthInfo *i);
|
||||
LINPHONE_PUBLIC const char *linphone_auth_info_get_passwd(const LinphoneAuthInfo *i);
|
||||
LINPHONE_PUBLIC const char *linphone_auth_info_get_userid(const LinphoneAuthInfo *i);
|
||||
LINPHONE_PUBLIC const char *linphone_auth_info_get_realm(const LinphoneAuthInfo *i);
|
||||
LINPHONE_PUBLIC const char *linphone_auth_info_get_ha1(const LinphoneAuthInfo *i);
|
||||
|
||||
/* you don't need those function*/
|
||||
void linphone_auth_info_destroy(LinphoneAuthInfo *info);
|
||||
|
|
@ -992,7 +992,7 @@ const MSList *linphone_core_get_video_codecs(const LinphoneCore *lc);
|
|||
|
||||
int linphone_core_set_video_codecs(LinphoneCore *lc, MSList *codecs);
|
||||
|
||||
bool_t linphone_core_payload_type_enabled(LinphoneCore *lc, const PayloadType *pt);
|
||||
LINPHONE_PUBLIC bool_t linphone_core_payload_type_enabled(LinphoneCore *lc, const PayloadType *pt);
|
||||
|
||||
LINPHONE_PUBLIC int linphone_core_enable_payload_type(LinphoneCore *lc, PayloadType *pt, bool_t enable);
|
||||
|
||||
|
|
@ -1050,7 +1050,7 @@ LINPHONE_PUBLIC void linphone_core_add_auth_info(LinphoneCore *lc, const Linphon
|
|||
|
||||
void linphone_core_remove_auth_info(LinphoneCore *lc, const LinphoneAuthInfo *info);
|
||||
|
||||
const MSList *linphone_core_get_auth_info_list(const LinphoneCore *lc);
|
||||
LINPHONE_PUBLIC const MSList *linphone_core_get_auth_info_list(const LinphoneCore *lc);
|
||||
|
||||
const LinphoneAuthInfo *linphone_core_find_auth_info(LinphoneCore *lc, const char *realm, const char *username);
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ int lp_config_read_file(LpConfig *lpconfig, const char *filename);
|
|||
* @ingroup misc
|
||||
* The default value string is returned if the config item isn't found.
|
||||
**/
|
||||
const char *lp_config_get_string(const LpConfig *lpconfig, const char *section, const char *key, const char *default_string);
|
||||
LINPHONE_PUBLIC const char *lp_config_get_string(const LpConfig *lpconfig, const char *section, const char *key, const char *default_string);
|
||||
int lp_config_read_file(LpConfig *lpconfig, const char *filename);
|
||||
/**
|
||||
* Retrieves a configuration item as a range, given its section, key, and default min and max values.
|
||||
|
|
@ -82,14 +82,14 @@ int lp_config_read_file(LpConfig *lpconfig, const char *filename);
|
|||
* @return TRUE if the value is successfully parsed as a range, FALSE otherwise.
|
||||
* If FALSE is returned, min and max are filled respectively with default_min and default_max values.
|
||||
*/
|
||||
bool_t lp_config_get_range(const LpConfig *lpconfig, const char *section, const char *key, int *min, int *max, int default_min, int default_max);
|
||||
LINPHONE_PUBLIC bool_t lp_config_get_range(const LpConfig *lpconfig, const char *section, const char *key, int *min, int *max, int default_min, int default_max);
|
||||
/**
|
||||
* Retrieves a configuration item as an integer, given its section, key, and default value.
|
||||
*
|
||||
* @ingroup misc
|
||||
* The default integer value is returned if the config item isn't found.
|
||||
**/
|
||||
int lp_config_get_int(const LpConfig *lpconfig,const char *section, const char *key, int default_value);
|
||||
LINPHONE_PUBLIC int lp_config_get_int(const LpConfig *lpconfig,const char *section, const char *key, int default_value);
|
||||
|
||||
/**
|
||||
* Retrieves a configuration item as a 64 bit integer, given its section, key, and default value.
|
||||
|
|
@ -97,7 +97,7 @@ int lp_config_get_int(const LpConfig *lpconfig,const char *section, const char *
|
|||
* @ingroup misc
|
||||
* The default integer value is returned if the config item isn't found.
|
||||
**/
|
||||
int64_t lp_config_get_int64(const LpConfig *lpconfig,const char *section, const char *key, int64_t default_value);
|
||||
LINPHONE_PUBLIC int64_t lp_config_get_int64(const LpConfig *lpconfig,const char *section, const char *key, int64_t default_value);
|
||||
|
||||
|
||||
int lp_config_read_file(LpConfig *lpconfig, const char *filename);
|
||||
|
|
@ -107,25 +107,25 @@ int lp_config_read_file(LpConfig *lpconfig, const char *filename);
|
|||
* @ingroup misc
|
||||
* The default float value is returned if the config item isn't found.
|
||||
**/
|
||||
float lp_config_get_float(const LpConfig *lpconfig,const char *section, const char *key, float default_value);
|
||||
LINPHONE_PUBLIC float lp_config_get_float(const LpConfig *lpconfig,const char *section, const char *key, float default_value);
|
||||
/**
|
||||
* Sets a string config item
|
||||
*
|
||||
* @ingroup misc
|
||||
**/
|
||||
void lp_config_set_string(LpConfig *lpconfig,const char *section, const char *key, const char *value);
|
||||
LINPHONE_PUBLIC void lp_config_set_string(LpConfig *lpconfig,const char *section, const char *key, const char *value);
|
||||
/**
|
||||
* Sets a range config item
|
||||
*
|
||||
* @ingroup misc
|
||||
*/
|
||||
void lp_config_set_range(LpConfig *lpconfig, const char *section, const char *key, int min_value, int max_value);
|
||||
LINPHONE_PUBLIC void lp_config_set_range(LpConfig *lpconfig, const char *section, const char *key, int min_value, int max_value);
|
||||
/**
|
||||
* Sets an integer config item
|
||||
*
|
||||
* @ingroup misc
|
||||
**/
|
||||
void lp_config_set_int(LpConfig *lpconfig,const char *section, const char *key, int value);
|
||||
LINPHONE_PUBLIC void lp_config_set_int(LpConfig *lpconfig,const char *section, const char *key, int value);
|
||||
|
||||
/**
|
||||
* Sets an integer config item, but store it as hexadecimal
|
||||
|
|
@ -139,14 +139,14 @@ void lp_config_set_int_hex(LpConfig *lpconfig,const char *section, const char *k
|
|||
*
|
||||
* @ingroup misc
|
||||
**/
|
||||
void lp_config_set_int64(LpConfig *lpconfig,const char *section, const char *key, int64_t value);
|
||||
LINPHONE_PUBLIC void lp_config_set_int64(LpConfig *lpconfig,const char *section, const char *key, int64_t value);
|
||||
|
||||
/**
|
||||
* Sets a float config item
|
||||
*
|
||||
* @ingroup misc
|
||||
**/
|
||||
void lp_config_set_float(LpConfig *lpconfig,const char *section, const char *key, float value);
|
||||
LINPHONE_PUBLIC void lp_config_set_float(LpConfig *lpconfig,const char *section, const char *key, float value);
|
||||
/**
|
||||
* Writes the config file to disk.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue