summaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/src/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl/libhicnctrl/src/socket.c')
-rw-r--r--ctrl/libhicnctrl/src/socket.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctrl/libhicnctrl/src/socket.c b/ctrl/libhicnctrl/src/socket.c
index c3636075d..956dc07c8 100644
--- a/ctrl/libhicnctrl/src/socket.c
+++ b/ctrl/libhicnctrl/src/socket.c
@@ -161,6 +161,10 @@ ERR_MALLOC:
return NULL;
}
+hc_sock_t *hc_sock_create_forwarder(forwarder_type_t forwarder) {
+ return hc_sock_create(forwarder, NULL);
+}
+
void hc_sock_free(hc_sock_t *s) {
if (s->ops.disconnect) s->ops.disconnect(s);
#ifdef ANDROID