timeout.h File Reference

#include <time.h>

Go to the source code of this file.

Data Structures

struct  timeout_

Typedefs

typedef timeout_ Timeout

Functions

Timeoutadd_timeout (int delay, void(*code)(Timeout *), int repeat)
void check_timeouts (void)
void del_timeout (Timeout *t)


Typedef Documentation

typedef struct timeout_ Timeout

Definition at line 22 of file timeout.h.


Function Documentation

Timeout* add_timeout ( int  delay,
void(*)(Timeout *)  code,
int  repeat 
)

Definition at line 94 of file timeout.c.

References timeout_::code, timeout_::next, timeout_::prev, timeout_::repeat, scalloc(), timeout_::settime, and timeout_::timeout.

Referenced by check_kick().

void check_timeouts ( void   ) 

Definition at line 49 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 113 of file timeout.c.

References timeout_::next, and timeout_::prev.

Referenced by clean_ns_timeouts(), and del_ns_timeout().


Generated on Sun Dec 30 09:26:55 2007 for Anope by  doxygen 1.5.1-20070107