Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src/config.c: Remove map for configuration variables | Lukas Fleischer | 2011-12-09 | 1 | -169/+114 |
| | | | | | | | | | | 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> | ||||
* | Extract config file handlers into a separate file | Lukas Fleischer | 2011-12-09 | 1 | -0/+583 |
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> |