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:45:10 +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:45:10 +0000 |
commit | f299e48a40c6bd214783148273315e19e3de00b1 (patch) | |
tree | 2f420696a03e2be7e925fc02e90acb0fabd4b30d /include/alarm.h | |
parent | e62e70e2cfe62f3df55fdb17f35895ebb43c0de9 (diff) | |
download | conntrack-tools-f299e48a40c6bd214783148273315e19e3de00b1.tar.gz conntrack-tools-f299e48a40c6bd214783148273315e19e3de00b1.zip |
merge several *_alarm() functions into init_alarm()
Diffstat (limited to 'include/alarm.h')
-rw-r--r-- | include/alarm.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/alarm.h b/include/alarm.h index c68e7f4..338968a 100644 --- a/include/alarm.h +++ b/include/alarm.h @@ -17,12 +17,9 @@ 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 init_alarm(struct alarm_list *t, + void *data, + void (*fcn)(struct alarm_list *a, void *data)); void add_alarm(struct alarm_list *alarm); |