Anope IRC Services  Version 1.8
Functions | Variables
timeout.c File Reference
#include "services.h"
#include "pseudo.h"
Include dependency graph for timeout.c:

Go to the source code of this file.

Functions

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

Variables

static Timeouttimeouts = NULL
 

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

Variable Documentation

Timeout* timeouts = NULL
static

Definition at line 17 of file timeout.c.

Referenced by add_timeout(), and check_timeouts().