Anope IRC Services  Version 1.8
Data Structures | Typedefs | Functions
timeout.h File Reference
#include <time.h>
Include dependency graph for timeout.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  timeout_
 

Typedefs

typedef struct timeout_ Timeout
 

Functions

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

Typedef Documentation

typedef struct timeout_ Timeout

Definition at line 21 of file timeout.h.

Function Documentation

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

Definition at line 48 of file timeout.c.

References alog(), timeout_::code, debug, timeout_::next, timeout_::prev, timeout_::repeat, and timeouts.

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().