mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 15:48:09 +00:00
Remove unused code.
This commit is contained in:
parent
9b5d44b8db
commit
147f2c0c24
3 changed files with 0 additions and 20 deletions
|
|
@ -4437,21 +4437,6 @@ const char * linphone_core_get_upnp_external_ipaddress(const LinphoneCore *lc){
|
|||
}
|
||||
|
||||
|
||||
const char * linphone_core_get_relay_addr(const LinphoneCore *lc){
|
||||
return lc->net_conf.relay;
|
||||
}
|
||||
|
||||
int linphone_core_set_relay_addr(LinphoneCore *lc, const char *addr){
|
||||
if (lc->net_conf.relay!=NULL){
|
||||
ms_free(lc->net_conf.relay);
|
||||
lc->net_conf.relay=NULL;
|
||||
}
|
||||
if (addr){
|
||||
lc->net_conf.relay=ms_strdup(addr);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void linphone_core_set_nat_address(LinphoneCore *lc, const char *addr)
|
||||
{
|
||||
if (lc->net_conf.nat_address!=NULL){
|
||||
|
|
|
|||
|
|
@ -1476,10 +1476,6 @@ LINPHONE_PUBLIC void linphone_core_set_firewall_policy(LinphoneCore *lc, Linphon
|
|||
|
||||
LINPHONE_PUBLIC LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore *lc);
|
||||
|
||||
const char * linphone_core_get_relay_addr(const LinphoneCore *lc);
|
||||
|
||||
int linphone_core_set_relay_addr(LinphoneCore *lc, const char *addr);
|
||||
|
||||
/* sound functions */
|
||||
/* returns a null terminated static array of string describing the sound devices */
|
||||
const char** linphone_core_get_sound_devices(LinphoneCore *lc);
|
||||
|
|
|
|||
|
|
@ -496,7 +496,6 @@ typedef struct net_config
|
|||
char *stun_server;
|
||||
struct addrinfo *stun_addrinfo;
|
||||
unsigned long stun_res_id;
|
||||
char *relay;
|
||||
int download_bw;
|
||||
int upload_bw;
|
||||
int mtu;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue