diff --git a/coreapi/linphone_tunnel_stubs.c b/coreapi/linphone_tunnel_stubs.c index 7e2994e78..d4c901009 100644 --- a/coreapi/linphone_tunnel_stubs.c +++ b/coreapi/linphone_tunnel_stubs.c @@ -38,6 +38,14 @@ LinphoneTunnel* linphone_core_get_tunnel(const LinphoneCore *lc){ void linphone_tunnel_destroy(LinphoneTunnel *tunnel){ } +LinphoneTunnel *linphone_tunnel_ref(LinphoneTunnel *tunnel) { + ms_warning("linphone_tunnel_ref() - stubbed, no implementation"); + return tunnel; +} + +void linphone_tunnel_unref(LinphoneTunnel *tunnel) { + ms_warning("linphone_tunnel_unref() - stubbed, no implementation"); +} void linphone_tunnel_add_server(LinphoneTunnel *tunnel, LinphoneTunnelConfig *tunnel_config){ ms_warning("linphone_tunnel_add_server() - stubbed, no implementation"); diff --git a/coreapi/vtables.c b/coreapi/vtables.c index 280283771..6588ddbc0 100644 --- a/coreapi/vtables.c +++ b/coreapi/vtables.c @@ -19,6 +19,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "private.h" +#include "linphone/wrapper_utils.h" LinphoneCoreVTable *linphone_core_v_table_new() {