Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
fd7d18bf
Commit
fd7d18bf
authored
Apr 04, 2013
by
Ghislain MARY
Browse files
Add exports.
parent
6702bf8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
+24
-24
coreapi/linphonecore.h
coreapi/linphonecore.h
+14
-14
coreapi/lpconfig.h
coreapi/lpconfig.h
+10
-10
No files found.
coreapi/linphonecore.h
View file @
fd7d18bf
...
...
@@ -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
);
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
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
);
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
);
...
...
coreapi/lpconfig.h
View file @
fd7d18bf
...
...
@@ -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.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment