From 065ad898cc6e9ca0323af440b13acca18bd244ed Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Tue, 19 Feb 2008 18:53:07 +0000 Subject: - implement a synchronous timer framework - fix crash when enabling pollinterval clause in flow-based accounting --- include/ulogd/ulogd.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'include/ulogd/ulogd.h') 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 #endif /* _ULOGD_H */ -- cgit v1.2.3