aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
new file mode 100644
index 0000000..ecb27ab
--- /dev/null
+++ b/src/socket.h
@@ -0,0 +1,8 @@
+#ifndef SOCKET_H
+#define SOCKET_H
+
+int listener(char *port, void (*on_recv)(char *, int));
+
+int talker(char *port, char *address, void (*on_send)(char *, int *));
+
+#endif