summaryrefslogtreecommitdiffstats
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/socket.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
new file mode 100644
index 000000000..791c0ce54
--- /dev/null
+++ b/src/socket.h
@@ -0,0 +1,10 @@
+//
+// Created by costa on 24/12/2016.
+//
+
+#ifndef NETDATA_SOCKET_H
+#define NETDATA_SOCKET_H
+
+extern int connect_to(const char *definition, int default_port, struct timeval *timeout);
+
+#endif //NETDATA_SOCKET_H