aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-31 12:31:38 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-31 12:31:38 +0300
commit675ded0d66b9fd60777d3037ded1446a3f9ef986 (patch)
tree6db3f0524437304f9e5a7b90175e3f6b043d4d49 /src/socket.h
Big Bang
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