ref: 73501fdb60004cff5845d617cbf1ce0e29f7a0cc
parent: c5dca58113d2570c32918c1b823a2f7eb3bce713
author: zamfofex <zamfofex@twdb.moe>
date: Mon Oct 9 12:16:37 EDT 2023
add ‘tools.h’
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@
!/moonfish.h
!/convert.py
!/tools
+!/tools/tools.h
!/tools/*.c
!/net
!/net/*.c
--- /dev/null
+++ b/tools/tools.h
@@ -1,0 +1,10 @@
+#ifndef MOONFISH_TOOLS
+#define MOONFISH_TOOLS
+
+#include <stdio.h>
+
+int moonfish_spawn(char *argv0, char **argv, int *in, int *out);
+char *moonfish_next(FILE *file);
+char *moonfish_wait(FILE *file, char *name);
+
+#endif
--
⑨