diff options
author | Danny Holman <dholman@gymli.org> | 2023-09-29 09:19:14 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2023-09-29 09:19:14 -0500 |
commit | 98fee7fdd86db5c19d88fe829bc665a75569325d (patch) | |
tree | 846932fb2340fa480cebc87c71415bf6446e4c08 /server/include | |
parent | 15b5280d7e68795f3110c4fe5c6033637e0167c2 (diff) |
server: write output to a file/socket descriptor
Instead of printing to stdout, print to a file or socket descriptor.
This will allow remote control connections to be implemented relatively
easily.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'server/include')
-rw-r--r-- | server/include/mini-rat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/include/mini-rat.h b/server/include/mini-rat.h index 9230ab2..dd0d9a6 100644 --- a/server/include/mini-rat.h +++ b/server/include/mini-rat.h @@ -73,4 +73,6 @@ #include <stdarg.h> #endif +void parse_cmd(int sock, char *line); + #endif // ifndef MINI_RAT_H |