summaryrefslogtreecommitdiff
path: root/event.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-02-05 11:10:02 +0100
committerLinus Nordberg <linus@nordberg.se>2014-02-05 11:10:02 +0100
commit3d954bfd2f658ac05a0f20a1241738ed3e3fdd28 (patch)
treed95b364fbab298c9b94c9c729afc98904c7c5bb0 /event.h
parent67bdfa83f1879312fef0fbac769f6fb45df12d1a (diff)
Move lib to the root.
Diffstat (limited to 'event.h')
-rw-r--r--event.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/event.h b/event.h
new file mode 100644
index 0000000..bd9ec77
--- /dev/null
+++ b/event.h
@@ -0,0 +1,12 @@
+/* Copyright 2011-2012 NORDUnet A/S. All rights reserved.
+ See LICENSE for licensing information. */
+
+void event_on_disconnect (struct rs_connection *conn);
+int event_on_connect (struct rs_connection *conn, struct rs_packet *pkt);
+int event_loopbreak (struct rs_connection *conn);
+int event_init_eventbase (struct rs_connection *conn);
+int event_init_socket (struct rs_connection *conn, struct rs_peer *p);
+int event_init_bufferevent (struct rs_connection *conn, struct rs_peer *peer);
+void event_do_connect (struct rs_connection *conn);
+void event_conn_timeout_cb (int fd, short event, void *data);
+void event_retransmit_timeout_cb (int fd, short event, void *data);