]> sjero.net Git - linphone/blobdiff - coreapi/linphone_tunnel.cc
Merge branch 'master' of git://git.linphone.org/linphone
[linphone] / coreapi / linphone_tunnel.cc
index f0de56694d02a564cf1ea8376a981d2b584b6c8b..079074aa8d2b76e23331476f2bd60bd5bfacdc71 100644 (file)
@@ -233,6 +233,10 @@ bool_t linphone_tunnel_enabled(LinphoneTunnel *tunnel){
        return bcTunnel(tunnel)->isEnabled();
 }
 
+bool_t linphone_tunnel_connected(LinphoneTunnel *tunnel){
+       return bcTunnel(tunnel)->isReady();
+}
+
 static OrtpLogFunc tunnelOrtpLogHandler=NULL;
 
 /*