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-01-15 13:39:46 +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-01-15 13:39:46 +0000 |
commit | 4e37e2d9079b4c1890a39f26e5082d6b1e7d0024 (patch) | |
tree | 5b64ed43985b5da8c60b1f7a672de75eb6e4e1fc /include/alarm.h | |
parent | f2e700dd7c1eb7325d8ce51f7e35b652cceac151 (diff) | |
download | conntrack-tools-4e37e2d9079b4c1890a39f26e5082d6b1e7d0024.tar.gz conntrack-tools-4e37e2d9079b4c1890a39f26e5082d6b1e7d0024.zip |
Max Kellermann <max@duempel.org>:
add missing function prototypes
Diffstat (limited to 'include/alarm.h')
-rw-r--r-- | include/alarm.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/alarm.h b/include/alarm.h index fbe34f6..c68e7f4 100644 --- a/include/alarm.h +++ b/include/alarm.h @@ -17,4 +17,21 @@ set_alarm_expiration(struct alarm_list *t, long tv_sec, long tv_usec) t->tv.tv_usec = tv_usec; } +void set_alarm_function(struct alarm_list *t, + void (*fcn)(struct alarm_list *a, void *data)); + +void set_alarm_data(struct alarm_list *t, void *data); + +void init_alarm(struct alarm_list *t); + +void add_alarm(struct alarm_list *alarm); + +void del_alarm(struct alarm_list *alarm); + +void mod_alarm(struct alarm_list *alarm, unsigned long sc, unsigned long usc); + +int get_next_alarm(struct timeval *tv, struct timeval *next_alarm); + +int do_alarm_run(struct timeval *next_alarm); + #endif |