summaryrefslogtreecommitdiffstatshomepage
path: root/configfile.h (unfollow)
Commit message (Collapse)AuthorLines
2013-08-12Use strbuf for reading configuration filesLukas Fleischer-0/+2
Use struct strbuf from Git instead of fixed-size buffers to remove the limit on the length of configuration file lines and refactor read_config_line() to improve readability. Note that this also fixes a buffer overflow that existed with the original fixed-size buffer implementation. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
2008-03-28Move function for configfile parsing into configfile.[ch]Lars Hjemli-0/+8
This is a generic function which wanted its own little object file. Signed-off-by: Lars Hjemli <hjemli@gmail.com>