diff --git a/coreapi/linphone_tunnel_manager.cc b/coreapi/linphone_tunnel_manager.cc index ef66d4666f2045a070b7af34b3a1a47924051e1c..0bf2efa3ff500f9475d7ad584eecce4958502a48 100644 --- a/coreapi/linphone_tunnel_manager.cc +++ b/coreapi/linphone_tunnel_manager.cc @@ -75,6 +75,10 @@ void linphone_tunnel_enable_logs_with_handler(LinphoneTunnelManager *tunnel, boo bcTunnel(tunnel)->enableLogs(enabled, logHandler); } +void linphone_tunnel_set_http_proxy_auth_info(LinphoneTunnelManager *tunnel, const char* username,const char* passwd){ + bcTunnel(tunnel)->setHttpProxyAuthInfo(username, passwd); +} + void linphone_tunnel_reconnect(LinphoneTunnelManager *tunnel){ bcTunnel(tunnel)->reconnect(); } diff --git a/coreapi/linphone_tunnel_manager.h b/coreapi/linphone_tunnel_manager.h index 7ee42411ca49c2b6799de18875b51b6c8c6f6605..2569534e7ddc76bec71a71b7f8a7364f9c5ffbf5 100644 --- a/coreapi/linphone_tunnel_manager.h +++ b/coreapi/linphone_tunnel_manager.h @@ -48,7 +48,7 @@ void linphone_tunnel_enable_logs(LinphoneTunnelManager *tunnel, bool_t enabled); void linphone_tunnel_enable_logs_with_handler(LinphoneTunnelManager *tunnel, bool_t enabled, LogHandler logHandler); void linphone_tunnel_reconnect(LinphoneTunnelManager *tunnel); void linphone_tunnel_auto_detect(LinphoneTunnelManager *tunnel); - +void linphone_tunnel_set_http_proxy_auth_info(const char* username,const char* passwd); /**