summaryrefslogtreecommitdiffstats
path: root/execute.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-09-18 22:17:13 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2012-09-18 22:17:13 +0100
commit20e45f363c91ef4a305eff5709212f1b2fb43523 (patch)
tree5fad025d47663b801d15a7cb805562cf6264a044 /execute.h
parent46af5238ce3e9327e0268d18373d07f67eed58b8 (diff)
Separate the tests and the main program.
Diffstat (limited to 'execute.h')
-rw-r--r--execute.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/execute.h b/execute.h
new file mode 100644
index 00000000..bf31e5e8
--- /dev/null
+++ b/execute.h
@@ -0,0 +1,13 @@
+#ifndef EXECUTE_H
+#define EXECUTE_H
+#include "bytecode.h"
+
+
+struct bytecode* jq_compile(const char* str);
+
+void jq_init(struct bytecode* bc, jv value);
+jv jq_next();
+void jq_teardown();
+
+
+#endif