OpenDNSSEC-signer
1.4.6
|
Go to the source code of this file.
Macros | |
#define | SIGNAL_RUN 0 |
#define | SIGNAL_INIT 1 |
#define | SIGNAL_RELOAD 2 |
#define | SIGNAL_SHUTDOWN 3 |
Functions | |
void | signal_set_engine (void *engine) |
void | signal_handler (sig_atomic_t sig) |
sig_atomic_t | signal_capture (sig_atomic_t dflsig) |
#define SIGNAL_RELOAD 2 |
Definition at line 41 of file signal.h.
Referenced by signal_capture().
#define SIGNAL_SHUTDOWN 3 |
Definition at line 42 of file signal.h.
Referenced by signal_capture().
sig_atomic_t signal_capture | ( | sig_atomic_t | dflsig | ) |
Capture signal.
[in] | dflsig | default signal |
Capture signal.
Definition at line 100 of file signal.c.
References SIGNAL_RELOAD, and SIGNAL_SHUTDOWN.
void signal_handler | ( | sig_atomic_t | sig | ) |
Handle signals.
[in] | sig | signal to handle |
Handle signals.
Definition at line 63 of file signal.c.
References lock_basic_alarm, lock_basic_lock, lock_basic_unlock, ods_log_debug(), engine_struct::signal_cond, and engine_struct::signal_lock.