summaryrefslogtreecommitdiffstats
path: root/src/poll.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-20 02:16:44 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-20 02:16:44 +0200
commit8c705b9cd4c7866227f09af2a859744e47602ba4 (patch)
tree9b75234454e0611c484265698011b5df832d893c /src/poll.h
parent0bf9268453d3af82bbd1257da547b1dd8f225ba2 (diff)
downloadfastd-8c705b9cd4c7866227f09af2a859744e47602ba4.tar
fastd-8c705b9cd4c7866227f09af2a859744e47602ba4.zip
Minimize poll interface to simplify implementation of alternative implementations
Diffstat (limited to 'src/poll.h')
-rw-r--r--src/poll.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/poll.h b/src/poll.h
index cc472b2..4049824 100644
--- a/src/poll.h
+++ b/src/poll.h
@@ -33,9 +33,9 @@
void fastd_poll_init(fastd_context_t *ctx);
void fastd_poll_free(fastd_context_t *ctx);
-void fastd_poll_set_fd_tuntap(fastd_context_t *ctx, int fd);
-void fastd_poll_set_fd_sock(fastd_context_t *ctx, int fd, size_t i);
-void fastd_poll_set_fd_peer(fastd_context_t *ctx, int fd, size_t i);
+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_add_peer(fastd_context_t *ctx);
void fastd_poll_delete_peer(fastd_context_t *ctx, size_t i);