summaryrefslogtreecommitdiff
path: root/lib/tcp.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-06 15:53:58 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-06 15:53:58 +0100
commit5c60297a1eaab7b10d6f584ba329493a41b812d0 (patch)
treeec1eef1d6adb859ef94e5aeeff8f190d35e63215 /lib/tcp.h
parent7636505962a348d9564e53922834dc6df1274653 (diff)
Restructure code, moving most code out of packet.c
Also, move copyright notice out of COPYING and into every file.
Diffstat (limited to 'lib/tcp.h')
-rw-r--r--lib/tcp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tcp.h b/lib/tcp.h
new file mode 100644
index 0000000..eae3e7b
--- /dev/null
+++ b/lib/tcp.h
@@ -0,0 +1,6 @@
+/* Copyright 2011 NORDUnet A/S. All rights reserved.
+ See the file COPYING for licensing information. */
+
+void tcp_event_cb (struct bufferevent *bev, short events, void *user_data);
+void tcp_read_cb (struct bufferevent *bev, void *user_data);
+void tcp_write_cb (struct bufferevent *bev, void *ctx);