#include <signal.hpp>
|
| static void | sigconf (struct sigaction &sa, const unsigned int flags) |
| |
| static void | sigact (struct sigaction &sa, const int sig) |
| |
Definition at line 25 of file signal.hpp.
◆ handler_t
| typedef void(* openvpn::Signal::handler_t) (int signum) |
◆ anonymous enum
| Enumerator |
|---|
| F_SIGINT | |
| F_SIGTERM | |
| F_SIGHUP | |
| F_SIGUSR1 | |
| F_SIGUSR2 | |
| F_SIGPIPE | |
Definition at line 32 of file signal.hpp.
◆ Signal()
| openvpn::Signal::Signal |
( |
const handler_t |
handler, |
|
|
const unsigned int |
flags |
|
) |
| |
|
inline |
configure a signal handler to be active on the signal specified in the flags parameter. The signal handler will receive the original system signal numbers and not the ones from the enum of this class.
- Parameters
-
Definition at line 49 of file signal.hpp.
◆ ~Signal()
| openvpn::Signal::~Signal |
( |
| ) |
|
|
inline |
◆ OPENVPN_SIMPLE_EXCEPTION()
| openvpn::Signal::OPENVPN_SIMPLE_EXCEPTION |
( |
signal_error |
| ) |
|
◆ reset_all_to_defaults()
| static void openvpn::Signal::reset_all_to_defaults |
( |
| ) |
|
|
inlinestatic |
◆ reset_to_defaults()
| static void openvpn::Signal::reset_to_defaults |
( |
const unsigned int |
flags | ) |
|
|
inlinestatic |
◆ sigact()
| static void openvpn::Signal::sigact |
( |
struct sigaction & |
sa, |
|
|
const int |
sig |
|
) |
| |
|
inlinestaticprivate |
◆ sigconf()
| static void openvpn::Signal::sigconf |
( |
struct sigaction & |
sa, |
|
|
const unsigned int |
flags |
|
) |
| |
|
inlinestaticprivate |
◆ flags_
| unsigned int openvpn::Signal::flags_ |
|
private |
The documentation for this class was generated from the following file: