summaryrefslogtreecommitdiff
path: root/config.c
AgeCommit message (Expand)Author
2022-07-30config: Use string instead of int in `check_port()`mrb0nk500
2022-07-28config: Make use of `keyword` for parsing config filesmrb0nk500
2021-06-18Removed the code that's now in `misc.c` frommrb0nk500
2021-06-18Move all miscellaneous functions from `config.c` intomrb0nk500
2021-06-18Replace all instances of `malloc()` with `calloc()`mrb0nk500
2021-06-18Removed unnecessary `memset()` in `read_file()`, andmrb0nk500
2021-06-12Replaced all log messages with the macros frommrb0nk500
2021-06-11Replace call to `malloc()` with call to `calloc()` inmrb0nk500
2021-06-11Remove unneeded call to `memset()` in `make_str()`.mrb0nk500
2021-06-11Change `port` from an int to a string, and move themrb0nk500
2021-06-10Fixed a bug in `parse_config()` that was caused by notmrb0nk500
2021-06-10Added the `cleanup()`, and `cleanup_config()`mrb0nk500
2021-06-10Added the `make_str()` function.mrb0nk500
2021-06-09Fixed segfault in `read_file()` that occured whenevermrb0nk500
2021-06-08Treat `TYPE_BOOL` the same as `TYPE_INT`.mrb0nk500
2021-06-07Fixed a bug with offsets being handled improperly inmrb0nk500
2021-06-07Fixed a segfault in `parse_config()`.mrb0nk500
2021-06-07Fixed a segfault bug in `get_line()`.mrb0nk500
2021-06-07Removed the casts to `long` in `parse_option_value()`.mrb0nk500
2021-06-07Fixed a bug in one of the checks in `read_file()`.mrb0nk500
2021-06-07Added the `set_config_opt()` function.mrb0nk500
2021-06-06Added the config option value parser.mrb0nk500
2021-06-06Added a loop for finding a valid config option.mrb0nk500
2021-06-05Fixed a bug, and typo in the `strtok_r()` call in themrb0nk500
2021-06-05Replace `find_line()` with `get_line()`.mrb0nk500
2021-06-05Move the config option stuff into `config.h`.mrb0nk500
2021-06-05Added the typedefs for the config option types.mrb0nk500
2021-06-05Rename var to func, and change all the variables tomrb0nk500
2021-06-05Fixed typo in config option format comment.mrb0nk500
2021-06-05Start adding the config options.mrb0nk500
2021-06-04Fixed typo in `read_file()` to do with the filesizemrb0nk500
2021-06-04Added missing buffer in `read_file()`.mrb0nk500
2021-06-04Started work on the parser loop.mrb0nk500
2021-06-04Added `find_line()`.mrb0nk500
2021-06-04Started work on the config file parser.mrb0nk500