#include <time.h>

Go to the source code of this file.
Data Structures | |
| struct | timeout_ |
Typedefs | |
| typedef struct timeout_ | Timeout |
Functions | |
| void | check_timeouts (void) |
| Timeout * | add_timeout (int delay, void(*code)(Timeout *), int repeat) |
| void | del_timeout (Timeout *t) |
Definition at line 93 of file timeout.c.
References timeout_::code, timeout_::next, timeout_::prev, timeout_::repeat, scalloc(), timeout_::settime, and timeout_::timeout.
Referenced by add_ns_timeout(), and check_kick().
| void check_timeouts | ( | void | ) |
Definition at line 48 of file timeout.c.
References alog(), timeout_::code, debug, timeout_::next, timeout_::prev, and timeout_::repeat.
Referenced by main().
| void del_timeout | ( | Timeout * | t | ) |
Definition at line 112 of file timeout.c.
References timeout_::next, and timeout_::prev.
Referenced by clean_ns_timeouts(), and del_ns_timeout().
1.7.1