diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-20 05:29:11 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-20 05:29:11 +0200 |
commit | 7adeb6e88196a594ec3d36ffc1c658340ffcd7bc (patch) | |
tree | 6a6bfb84387141bf39d573ef9fa47f2c993d1923 /src/poll.h | |
parent | b9c8603931203f5d94091f7a05a5967304b62fbd (diff) | |
download | fastd-7adeb6e88196a594ec3d36ffc1c658340ffcd7bc.tar fastd-7adeb6e88196a594ec3d36ffc1c658340ffcd7bc.zip |
Make ctx global
Diffstat (limited to 'src/poll.h')
-rw-r--r-- | src/poll.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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); |