]> sjero.net Git - linphone/commitdiff
Add linphone_tunnel_set_http_proxy_auth_info method.
authorGuillaume Beraudo <guillaume.beraudo@belledonne-communications.com>
Fri, 16 Dec 2011 15:28:31 +0000 (16:28 +0100)
committerGuillaume Beraudo <guillaume.beraudo@belledonne-communications.com>
Fri, 16 Dec 2011 15:28:31 +0000 (16:28 +0100)
coreapi/linphone_tunnel_manager.cc
coreapi/linphone_tunnel_manager.h

index ef66d4666f2045a070b7af34b3a1a47924051e1c..0bf2efa3ff500f9475d7ad584eecce4958502a48 100644 (file)
@@ -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();
 }
index 7ee42411ca49c2b6799de18875b51b6c8c6f6605..2569534e7ddc76bec71a71b7f8a7364f9c5ffbf5 100644 (file)
@@ -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);
 
 
 /**