summaryrefslogtreecommitdiffstats
path: root/src/poll.h
diff options
context:
space:
mode:
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);