Add libjq autoconf goo

This commit is contained in:
Nicolas Williams committed 2013-06-21 11:57:12 -05:00
1 parent c791428905
commit 298b2a6033
19 files changed
+211 -69

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#ifndef _JQ_H_
#define _JQ_H_
#include <jv.h>
enum {JQ_DEBUG_TRACE = 1};
typedef struct jq_state jq_state;
jq_state *jq_init(void);
void jq_set_nomem_handler(jq_state *, void (*)(void *), void *);
int jq_compile(jq_state *, const char* str);
int jq_compile_args(jq_state *, const char* str, jv args);
void jq_dump_disassembly(jq_state *, int);
void jq_start(jq_state *, jv value, int flags);
jv jq_next(jq_state *);
void jq_teardown(jq_state **);
#endif /* !_JQ_H_ */