aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/client_main.c (follow)
Commit message (Collapse)AuthorAge
* switch to egor@tensin.nameEgor Tensin2023-12-12
|
* refactoringEgor Tensin2023-11-12
|
* switch to JSON-RPC as message formatEgor Tensin2023-07-18
| | | | | | 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.
* clang-format: don't break string literalsEgor Tensin2023-07-07
|
* test: add some basic command-line usage testsEgor Tensin2023-07-07
|
* appease clang-formatEgor Tensin2023-07-04
|
* use designated struct initializers moreEgor Tensin2023-06-30
|
* show git hash with --versionEgor Tensin2023-06-30
| | | | Also, use cmake's configure_file to build string constants in.
* log: support logging levelsEgor Tensin2023-06-28
|
* sanitize #include-sEgor Tensin2023-06-13
|
* msg: add functions for one-off communicationEgor Tensin2023-05-14
|
* use -std=c17 -WpedanticEgor Tensin2023-05-13
|
* best practices & coding style fixesEgor Tensin2023-05-13
| | | | | | | | * 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.
* add command module to handle request-response communicationsEgor Tensin2023-05-13
|
* cmd_line: read executable name from /proc/self/exeEgor Tensin2023-04-29
|
* dedupe command line routinesEgor Tensin2023-04-29
|
* make struct client opaqueEgor Tensin2023-04-29
|
* add copyright noticesEgor Tensin2022-12-02
|
* add some codeEgor Tensin2022-08-23
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.