aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/socket.h b/src/socket.h
index ecb27ab..1868afc 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -1,8 +1,10 @@
#ifndef SOCKET_H
#define SOCKET_H
-int listener(char *port, void (*on_recv)(char *, int));
+#include "typedef.h"
-int talker(char *port, char *address, void (*on_send)(char *, int *));
+int listener(char *port, void (*on_recv)(message *));
+
+int talker(char *port, char *address, void (*on_send)(message *));
#endif