diff options
author | Michael Adam <obnox@samba.org> | 2009-12-07 01:08:22 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-07 01:11:35 +0100 |
commit | 0d0de2fcc5931ade625cd619321bb39f822ddce0 (patch) | |
tree | a621132284eefcfe9de7cfb0d919ed7c6fe0fd41 /src/common.h | |
parent | 2ccebf7a9545477b4596403cda947e1ac20765a9 (diff) | |
download | tinyproxy-0d0de2fcc5931ade625cd619321bb39f822ddce0.tar.gz tinyproxy-0d0de2fcc5931ade625cd619321bb39f822ddce0.zip |
Add reload_config() - (re-)load the config file, keeping defaults.
This allows for later reloading the config at SIGHUP (e.g.).
First the old config data is freed, then the defaults that
are given as a parameter are copied over in a rather clumsy
manual fashion (maybe something more clever can be done here)
and finally, the actual config file is loaded.
Michael
Diffstat (limited to 'src/common.h')
0 files changed, 0 insertions, 0 deletions