aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/client_main.c (unfollow)
Commit message (Collapse)Author
2023-12-12switch to egor@tensin.nameEgor Tensin
2023-11-12refactoringEgor Tensin
2023-07-18switch to JSON-RPC as message formatEgor Tensin
Instead of the weird `struct msg` I had, I switched to the JSON-RPC format. It's basically the same, but has a well-defined semantics in case of errors.
2023-07-07clang-format: don't break string literalsEgor Tensin
2023-07-07test: add some basic command-line usage testsEgor Tensin
2023-07-04appease clang-formatEgor Tensin
2023-06-30use designated struct initializers moreEgor Tensin
2023-06-30show git hash with --versionEgor Tensin
Also, use cmake's configure_file to build string constants in.
2023-06-28log: support logging levelsEgor Tensin
2023-06-13sanitize #include-sEgor Tensin
2023-05-14msg: add functions for one-off communicationEgor Tensin
2023-05-13use -std=c17 -WpedanticEgor Tensin
2023-05-13best practices & coding style fixesEgor Tensin
* I don't really need to declare all variables at the top of the function anymore. * Default-initialize variables more. * Don't set the output parameter until the object is completely constructed.
2023-05-13add command module to handle request-response communicationsEgor Tensin
2023-04-29cmd_line: read executable name from /proc/self/exeEgor Tensin
2023-04-29dedupe command line routinesEgor Tensin
2023-04-29make struct client opaqueEgor Tensin
2022-12-02add copyright noticesEgor Tensin
2022-08-23add some codeEgor Tensin
A basic client-server app, the client sends commands as an array of strings. Hopefully I didn't mess up, and hopefully it'll be useful.