Added in LinphoneFactory method to create a TunnelConfig

This commit is contained in:
Sylvain Berfini 2018-05-04 14:39:33 +02:00
parent 7a751bcbc1
commit 36aa0bfd0e
2 changed files with 11 additions and 0 deletions

View file

@ -439,3 +439,7 @@ void linphone_factory_set_log_collection_path(LinphoneFactory *factory, const ch
void linphone_factory_enable_log_collection(LinphoneFactory *factory, LinphoneLogCollectionState state) {
linphone_core_enable_log_collection(state);
}
LinphoneTunnelConfig *linphone_factory_create_tunnel_config(LinphoneFactory *factory) {
return linphone_tunnel_config_new();
}

View file

@ -466,6 +466,13 @@ LINPHONE_PUBLIC void linphone_factory_set_log_collection_path(LinphoneFactory *f
*/
LINPHONE_PUBLIC void linphone_factory_enable_log_collection(LinphoneFactory *factory, LinphoneLogCollectionState state);
/**
* Creates an object #LinphoneTunnelConfig
* @param[in] factory the #LinphoneFactory
* @return a #LinphoneTunnelConfig
*/
LINPHONE_PUBLIC LinphoneTunnelConfig *linphone_factory_create_tunnel_config(LinphoneFactory *factory);
/**
* @}
*/