summaryrefslogtreecommitdiffstats
path: root/src/poll.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-20 05:29:11 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-20 05:29:11 +0200
commit7adeb6e88196a594ec3d36ffc1c658340ffcd7bc (patch)
tree6a6bfb84387141bf39d573ef9fa47f2c993d1923 /src/poll.h
parentb9c8603931203f5d94091f7a05a5967304b62fbd (diff)
downloadfastd-7adeb6e88196a594ec3d36ffc1c658340ffcd7bc.tar
fastd-7adeb6e88196a594ec3d36ffc1c658340ffcd7bc.zip
Make ctx global
Diffstat (limited to 'src/poll.h')
-rw-r--r--src/poll.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/poll.h b/src/poll.h
index 4049824..dcf5d6c 100644
--- a/src/poll.h
+++ b/src/poll.h
@@ -30,14 +30,14 @@
#include "types.h"
-void fastd_poll_init(fastd_context_t *ctx);
-void fastd_poll_free(fastd_context_t *ctx);
+void fastd_poll_init(void);
+void fastd_poll_free(void);
-void fastd_poll_set_fd_tuntap(fastd_context_t *ctx);
-void fastd_poll_set_fd_sock(fastd_context_t *ctx, size_t i);
-void fastd_poll_set_fd_peer(fastd_context_t *ctx, size_t i);
+void fastd_poll_set_fd_tuntap(void);
+void fastd_poll_set_fd_sock(size_t i);
+void fastd_poll_set_fd_peer(size_t i);
-void fastd_poll_add_peer(fastd_context_t *ctx);
-void fastd_poll_delete_peer(fastd_context_t *ctx, size_t i);
+void fastd_poll_add_peer(void);
+void fastd_poll_delete_peer(size_t i);
-void fastd_poll_handle(fastd_context_t *ctx);
+void fastd_poll_handle(void);