aboutgitcodebugslistschat
path: root/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcp.h')
-rw-r--r--tcp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcp.h b/tcp.h
index 3ef57f3..da081ad 100644
--- a/tcp.h
+++ b/tcp.h
@@ -4,7 +4,8 @@
struct ctx;
void tcp_sock_handler(struct ctx *c, int s, uint32_t events);
-void tcp_tap_handler(struct ctx *c, int af, void *addr, char *in, size_t len);
+int tcp_tap_handler(struct ctx *c, int af, void *addr,
+ struct tap_msg *msg, int count);
int tcp_sock_init(struct ctx *c);
void tcp_timer(struct ctx *c, struct timespec *ts);