summaryrefslogtreecommitdiffstats
path: root/execute.h
diff options
context:
space:
mode:
Diffstat (limited to 'execute.h')
-rw-r--r--execute.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/execute.h b/execute.h
index 1cf14df7..004b66ba 100644
--- a/execute.h
+++ b/execute.h
@@ -3,8 +3,12 @@
#include "bytecode.h"
+
struct bytecode* jq_compile(const char* str);
+/* args must be an array of the form [{name:"foo", value:"thing"}, {name:"bar",value:3}] */
+struct bytecode* jq_compile_args(const char* str, jv args);
+
typedef struct jq_state jq_state;
enum {JQ_DEBUG_TRACE = 1};