Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-28 | Merge branch 'usage'HEADmaster | Aaron Ball | |
2022-06-28 | Improve usage helptext and add -h,--help arg | Aaron Ball | |
2022-06-28 | Merge branch 'flexible-argv' | Aaron Ball | |
2022-06-28 | Add runconfig code | Aaron Ball | |
This adds a new struct, runconfig, which handles runtime configurations. It essentially stores the validated arguments passed by the user at runtime. Right now, this separation of code is a bit overkill, but later this will support things like unix and udp sockets, as well as additional configurations such as running in foreground and retry cooldown times. | |||
2022-06-28 | Merge branch 'organize' | Aaron Ball | |
2022-06-28 | Better organize code | Aaron Ball | |
Move network code into new `net` library. This will allow better organization of code when udp and unix socket support is added. This also cleans up the main includes as it doesn't need any of the networking libraries. This also moves the argument parsing into the new `parse_args` function to clean up main a bit. | |||
2022-06-28 | Initial commit | Aaron Ball | |
This works well, but is still very basic. Many more features and documentation to come. |