ekg2
GIT master
|
Definicje | |
#define | NUM_ABORT_HANDLERS 10 |
Funkcje | |
int | ekg2_register_abort_handler (abort_handler handler, plugin_t *plugin) |
void | ekg2_run_all_abort_handlers (void) |
int | ekg2_unregister_abort_handlers_for_plugin (plugin_t *plugin) |
Zmienne | |
struct { | |
abort_handler handler | |
plugin_t * plugin | |
} | abort_handlers [10] |
#define NUM_ABORT_HANDLERS 10 |
int ekg2_register_abort_handler | ( | abort_handler | handler, |
plugin_t * | plugin | ||
) |
Statically register the abort handler function for the plugin.
The handler MUST be async-signal-safe (see signal(7)).
void ekg2_run_all_abort_handlers | ( | void | ) |
Run all registered abort handlers (possibly none).
No particular order of invocation is guaranteed.
int ekg2_unregister_abort_handlers_for_plugin | ( | plugin_t * | plugin | ) |
Unregister all abort handlers for plugin.
struct { ... } abort_handlers[ 10 ] |
abort_handler handler |