summaryrefslogtreecommitdiff
path: root/42sh/src/helper.h
diff options
context:
space:
mode:
Diffstat (limited to '42sh/src/helper.h')
-rw-r--r--42sh/src/helper.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/42sh/src/helper.h b/42sh/src/helper.h
new file mode 100644
index 0000000..6032c1c
--- /dev/null
+++ b/42sh/src/helper.h
@@ -0,0 +1,17 @@
+#ifndef HELPER_H
+#define HELPER_H
+
+#include <err.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "IO/IOBackend.h"
+#include "exec/ast_exec_functions.h"
+#include "parser/parser.h"
+#include "utils/env.h"
+
+#define BAD_GRAMMAR 2
+
+int _process_input(struct string *input);
+
+#endif /* ! HELPER_H */