summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-06-12Created `macros.h`.mrb0nk500
2021-06-11Replace call to `malloc()` with call to `calloc()` inmrb0nk500
2021-06-11Replace `!` with `== 0` for all calls tomrb0nk500
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-11Added a test config file.mrb0nk500
2021-06-11Added failure reasons to all the failure log messagesmrb0nk500
2021-06-10Changed `fd` to a `const int`, and added a failedmrb0nk500
2021-06-10Fixed a typo in `init_socket()`.mrb0nk500
2021-06-10Finished `init_socket()`.mrb0nk500
2021-06-10Added the include for `netdb.h`.mrb0nk500
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-09Added the socket, and network includes.mrb0nk500
2021-06-09Started work on adding the socket initialization code.mrb0nk500
2021-06-09Moved the main loop into a separate function.mrb0nk500
2021-06-09Move the main loop code into an if statement.mrb0nk500
2021-06-08Fixed a typo in `init_config()`.mrb0nk500
2021-06-08Include `config.h` in `pullreqd.c`.mrb0nk500
2021-06-08Added the config file initialization code.mrb0nk500
2021-06-08Added the `init_config()` function.mrb0nk500
2021-06-08Added the `done` flag.mrb0nk500
2021-06-08Treat `TYPE_BOOL` the same as `TYPE_INT`.mrb0nk500
2021-06-08Remove the `b` member from the `config_val` union.mrb0nk500
2021-06-08Removed unnecessary comment in `config_opts`.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-07Fixed a typo, and replaced a `NULL` in the offset ofmrb0nk500
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-07Added the `config` struct.mrb0nk500
2021-06-07Replace `func` in config_opt with `offset`.mrb0nk500
2021-06-06Moved `TYPE_NONE` to the start of `config_type`, andmrb0nk500
2021-06-06Added the config option value parser.mrb0nk500
2021-06-06Added a loop for finding a valid config option.mrb0nk500
2021-06-06Added a NULL entry to the end of `config_opts`.mrb0nk500
2021-06-06Added a new union called `config_val`.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-05Fixed a typo in the root fallback code.mrb0nk500
2021-06-04Fixed typo in `read_file()` to do with the filesizemrb0nk500