diff options
Diffstat (limited to 'openvpn.h')
-rw-r--r-- | openvpn.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -117,6 +117,14 @@ struct context_buffers struct buffer read_tun_buf; }; +/* + * always-persistent context variables + */ +struct context_persist +{ + int restart_sleep_seconds; +}; + /* * level 0 context contains data related to * once-per OpenVPN instantiation events @@ -461,6 +469,9 @@ struct context /* set to true after we daemonize */ bool did_we_daemonize; + /* persistent across SIGHUP */ + struct context_persist persist; + /* level 0 context contains data related to once-per OpenVPN instantiation events such as daemonization */ |