summaryrefslogtreecommitdiff
path: root/zup.h
diff options
context:
space:
mode:
authorThomas Albers <thomas@thomaslabs.org>2023-08-06 16:04:59 +0200
committerThomas Albers <thomas@thomaslabs.org>2023-08-06 16:04:59 +0200
commit30125839213e5b81e87c4fa3d7d3f4030b3659e3 (patch)
tree183670f0617059ac7b07927adcdcc9908f4c97aa /zup.h
parentd0e2b015f25d53498da258d3ee988a101bc597fa (diff)
Merge repl.c and cmd.c commands
Diffstat (limited to 'zup.h')
-rw-r--r--zup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zup.h b/zup.h
index cce84ed..7631e93 100644
--- a/zup.h
+++ b/zup.h
@@ -107,6 +107,9 @@ open_tty(const char *port, int baud);
int
run_commands(int fd, const struct param *param, int ncmd, char **cmds);
+int
+run_line(int fd, struct param *param, char *line, const char *sep);
+
void
repl(int fd, struct param *param);