Dillo v3.1.1-119-g140d9ebd
|
Simple ADT for timeout functions. More...
Go to the source code of this file.
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 () |
Stop running a timeout function. | |
Simple ADT for timeout functions.
Definition in file timeout.cc.
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.