Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
timeout.hh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* TimeoutCb_t) (void *data)
 

Functions

void a_Timeout_add (float t, TimeoutCb_t cb, void *cbdata)
 Hook a one-time timeout function 'cb' after 't' seconds with 'cbdata" as its data.
 
void a_Timeout_repeat (float t, TimeoutCb_t cb, void *cbdata)
 To be called from inside the 'cb' function when it wants to keep running.
 
void a_Timeout_remove (void)
 Stop running a timeout function.
 

Typedef Documentation

◆ TimeoutCb_t

typedef void(* TimeoutCb_t) (void *data)

Definition at line 8 of file timeout.hh.

Function Documentation

◆ a_Timeout_add()

void a_Timeout_add ( float  t,
TimeoutCb_t  cb,
void *  cbdata 
)

◆ a_Timeout_remove()

void a_Timeout_remove ( void  )

◆ a_Timeout_repeat()

void a_Timeout_repeat ( float  t,
TimeoutCb_t  cb,
void *  cbdata 
)

To be called from inside the 'cb' function when it wants to keep running.

Definition at line 33 of file timeout.cc.