diff options
Diffstat (limited to 'include/ulogd/ulogd.h')
-rw-r--r-- | include/ulogd/ulogd.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h index b1d0996..8c052f2 100644 --- a/include/ulogd/ulogd.h +++ b/include/ulogd/ulogd.h @@ -242,20 +242,11 @@ struct ulogd_fd { int ulogd_register_fd(struct ulogd_fd *ufd); void ulogd_unregister_fd(struct ulogd_fd *ufd); -int ulogd_select_main(); +int ulogd_select_main(struct timeval *tv); /*********************************************************************** * timer handling ***********************************************************************/ - -struct ulogd_timer { - struct llist_head list; - struct timeval expires; - void (*cb)(void *data); - void *data; -}; - -int ulogd_register_timer(struct ulogd_timer *timer); -void ulogd_unregister_timer(struct ulogd_timer *timer); +#include <ulogd/timer.h> #endif /* _ULOGD_H */ |