code for installing and uninstalling signal handlers More...
Go to the source code of this file.
Data Structures | |
| struct | GNUNET_SIGNAL_Context |
Macros | |
| #define | LOG(kind, ...) GNUNET_log_from (kind, "util-signal", __VA_ARGS__) |
Functions | |
| struct GNUNET_SIGNAL_Context * | GNUNET_SIGNAL_handler_install (int signum, GNUNET_SIGNAL_Handler handler) |
| Install a signal handler that will be run if the given signal is received. | |
| void | GNUNET_SIGNAL_handler_uninstall (struct GNUNET_SIGNAL_Context *ctx) |
| Uninstall a previously installed signal handler. | |
| void | GNUNET_SIGNAL_raise (const int sig) |
| Raise the given signal by calling the installed signal handlers. | |
Variables | |
| static struct GNUNET_SIGNAL_Context * | sc_head |
| static struct GNUNET_SIGNAL_Context * | sc_tail |
code for installing and uninstalling signal handlers
Definition in file signal.c.
| #define LOG | ( | kind, | |
| ... | |||
| ) | GNUNET_log_from (kind, "util-signal", __VA_ARGS__) |
|
static |
Definition at line 47 of file signal.c.
Referenced by GNUNET_SIGNAL_handler_install(), GNUNET_SIGNAL_handler_uninstall(), and GNUNET_SIGNAL_raise().
|
static |
Definition at line 49 of file signal.c.
Referenced by GNUNET_SIGNAL_handler_install(), and GNUNET_SIGNAL_handler_uninstall().