Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-09 | src/config.c: Remove map for configuration variables | Lukas Fleischer | |
This patch kind of reverts what we did in commit 6377582841118688aee13aff98c9216403582e45. We were a tad off-base there since using a map doesn't improve maintainability, really. Using strcmp() at a central location seems perfectly fine and doesn't have the overhead of the map scanning algorithm. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||
2011-12-09 | Extract config file handlers into a separate file | Lukas Fleischer | |
We used custom_load_conf() to load the configuration file and io_save_conf() to save configuration. Move these functions, including all helpers, to a central location. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> |