summaryrefslogtreecommitdiff
path: root/src/conf.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-12-22conf.h: add "extern" to prototype of reload_config_fileMichael Adam1-2/+2
Michael
2009-12-22conf: make free_config staticMichael Adam1-1/+0
Michael
2009-12-22conf: make load_config_file static.Michael Adam1-1/+0
Michael
2009-12-22conf: rename reload_config --> reload_config_fileMichael Adam1-2/+2
Michael
2009-12-07Move definition of "struct config_s" from main.h to conf.hMichael Adam1-0/+77
Michael
2009-12-07Add reload_config() - (re-)load the config file, keeping defaults.Michael Adam1-0/+2
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-07Add free_config() - free all config data.Michael Adam1-0/+1
Michael
2009-11-14conf: refactor loading of config file out into load_config_file()Michael Adam1-2/+1
and make config_compile and config_parse static to conf.c Michael
2009-09-21Rename conffile.[ch] to conf.[ch]Mukund Sivaraman1-0/+27