Merge branch 'master' of belledonne-communications.com:linphone-private

This commit is contained in:
Simon Morlat 2010-04-26 22:00:16 +02:00
commit f318833e76
2 changed files with 7 additions and 0 deletions

View file

@ -3583,6 +3583,9 @@ void linphone_core_set_network_reachable(LinphoneCore* lc,bool_t isReachable) {
set_network_reachable(lc,isReachable);
}
bool_t linphone_core_is_network_reachabled(LinphoneCore* lc) {
return lc->network_reachable;
}
ortp_socket_t linphone_core_get_sip_socket(LinphoneCore *lc){
return sal_get_socket(lc->sal);
}

View file

@ -754,6 +754,10 @@ void linphone_core_set_mtu(LinphoneCore *lc, int mtu);
*
*/
void linphone_core_set_network_reachable(LinphoneCore* lc,bool_t value);
/**
* return network state either as positioned by the application or by linphone
*/
bool_t linphone_core_is_network_reachabled(LinphoneCore* lc);
void *linphone_core_get_user_data(LinphoneCore *lc);