summaryrefslogtreecommitdiffstats
path: root/src/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.h')
-rw-r--r--src/cli.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cli.h b/src/cli.h
new file mode 100644
index 00000000..f1b74397
--- /dev/null
+++ b/src/cli.h
@@ -0,0 +1,14 @@
+#ifndef fooclihfoo
+#define fooclihfoo
+
+#include "iochannel.h"
+#include "core.h"
+
+struct cli;
+
+struct cli* cli_new(struct core *core, struct iochannel *io);
+void cli_free(struct cli *cli);
+
+void cli_set_eof_callback(struct cli *cli, void (*cb)(struct cli*c, void *userdata), void *userdata);
+
+#endif