diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-02-19 18:53:07 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-02-19 18:53:07 +0000 |
commit | 065ad898cc6e9ca0323af440b13acca18bd244ed (patch) | |
tree | cc64405b75a002024d70ecbe8a753eb518624bfa /include/ulogd/ulogd.h | |
parent | 205a824884833d786bdeb3c6ceda2e6a16316dfb (diff) |
- implement a synchronous timer framework
- fix crash when enabling pollinterval clause in flow-based accounting
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 */ |