diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-12-14 12:58:27 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-12-14 12:58:27 +0100 |
commit | 76a0da0622b9bf04756f5ad39bc31759809e76ff (patch) | |
tree | 0aa1574634fd62578248f548dc51f3f08f7460c1 /openvpn/src/openvpn/sig.h | |
parent | 1c83b296a1d31da96531f74fc2010346566aaf57 (diff) |
Update openvpn to Dual Stack version
Diffstat (limited to 'openvpn/src/openvpn/sig.h')
-rw-r--r-- | openvpn/src/openvpn/sig.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/openvpn/src/openvpn/sig.h b/openvpn/src/openvpn/sig.h index 987efef5..c2c7b54e 100644 --- a/openvpn/src/openvpn/sig.h +++ b/openvpn/src/openvpn/sig.h @@ -28,6 +28,15 @@ #include "status.h" #include "win32.h" + + +#define SIG_SOURCE_SOFT 0 +#define SIG_SOURCE_HARD 1 +/* CONNECTION_FAILED is also a "soft" status, + * It is thrown if a connection attempt fails + */ +#define SIG_SOURCE_CONNECTION_FAILED 2 + /* * Signal information, including signal code * and descriptive text. @@ -35,7 +44,7 @@ struct signal_info { volatile int signal_received; - volatile bool hard; + volatile int source; const char *signal_text; }; |