Dillo v3.1.1-98-g318d1f14
|
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 void(* TimeoutCb_t) (void *data) |
Definition at line 8 of file timeout.hh.
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.
Definition at line 25 of file timeout.cc.
Referenced by a_Menu_bugmeter_popup(), a_Menu_file_popup(), a_Menu_form_popup(), a_Menu_history_popup(), a_Menu_image_popup(), a_Menu_link_popup(), a_Menu_page_popup(), a_Nav_redirection0(), a_Nav_reload(), a_Nav_repush(), Cache_auth_entry(), Cache_delayed_process_queue(), Cache_process_queue(), and filemenu_cb().
void a_Timeout_remove | ( | void | ) |
Stop running a timeout function.
Definition at line 41 of file timeout.cc.
Referenced by Cache_auth_callback(), Cache_delayed_process_queue_callback(), Menu_popup_cb(), Menu_simple_popup_cb(), Nav_redirection0_callback(), and Nav_repush_callback().
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.