]> sjero.net Git - linphone/blobdiff - coreapi/linphone_tunnel_stubs.c
- do not register outside of tunnel when tunnel is activated but not yet connected.
[linphone] / coreapi / linphone_tunnel_stubs.c
index d7fb2779672804bc062e78127ca30553cb92a584..0865704a0dfd904158f91a1cb320f9cbbbf8f3d9 100644 (file)
@@ -38,14 +38,15 @@ LinphoneTunnel* linphone_core_get_tunnel(LinphoneCore *lc){
 void linphone_tunnel_destroy(LinphoneTunnel *tunnel){
 }
 
-void linphone_tunnel_add_server(LinphoneTunnel *tunnel, const char *host, int port){
+
+void linphone_tunnel_add_server(LinphoneTunnel *tunnel, LinphoneTunnelConfig *tunnel_config){
 }
 
-void linphone_tunnel_add_server_and_mirror(LinphoneTunnel *tunnel, const char *host, int port, int remote_udp_mirror, int delay){
+void linphone_tunnel_remove_server(LinphoneTunnel *tunnel, LinphoneTunnelConfig *tunnel_config){
 }
 
-char *linphone_tunnel_get_servers(LinphoneTunnel *tunnel){
-       return NULL;
+const MSList *linphone_tunnel_get_servers(LinphoneTunnel *tunnel){
+        return NULL;
 }
 
 void linphone_tunnel_clean_servers(LinphoneTunnel *tunnel){
@@ -55,9 +56,14 @@ void linphone_tunnel_enable(LinphoneTunnel *tunnel, bool_t enabled){
 }
 
 bool_t linphone_tunnel_enabled(LinphoneTunnel *tunnel){
+        return FALSE;
+}
+
+bool_t linphone_tunnel_connected(LinphoneTunnel *tunnel){
        return FALSE;
 }
 
+
 void linphone_tunnel_enable_logs_with_handler(LinphoneTunnel *tunnel, bool_t enabled, OrtpLogFunc logHandler){
 }