Michael Adam
72632f6569
conf.h: add "extern" to prototype of reload_config_file
...
Michael
2009-12-22 00:14:59 +01:00
Michael Adam
6ea160ffff
conf: make free_config static
...
Michael
2009-12-22 00:14:59 +01:00
Michael Adam
c15434df2b
conf: make load_config_file static.
...
Michael
2009-12-22 00:14:59 +01:00
Michael Adam
d3d31b434a
conf: rename reload_config --> reload_config_file
...
Michael
2009-12-22 00:14:59 +01:00
Michael Adam
7290691142
Move definition of "struct config_s" from main.h to conf.h
...
Michael
2009-12-07 22:33:27 +01:00
Michael Adam
0d0de2fcc5
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
2009-12-07 01:11:35 +01:00
Michael Adam
dcbf99d334
Add free_config() - free all config data.
...
Michael
2009-12-07 00:32:22 +01:00
Michael Adam
fba81e4174
conf: refactor loading of config file out into load_config_file()
...
and make config_compile and config_parse static to conf.c
Michael
2009-11-14 12:13:10 +01:00
Mukund Sivaraman
0cc707b3ff
Rename conffile.[ch] to conf.[ch]
2009-09-21 09:41:59 +05:30