summaryrefslogtreecommitdiff
path: root/lib/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tcp.h')
-rw-r--r--lib/tcp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tcp.h b/lib/tcp.h
new file mode 100644
index 0000000..fc2c4df
--- /dev/null
+++ b/lib/tcp.h
@@ -0,0 +1,7 @@
+/* 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);
+int tcp_init_connect_timer (struct rs_connection *conn);