"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "jq.h" between
jq-1.5.tar.gz and jq-1.6.tar.gz

About: jq is a lightweight and flexible command-line JSON processor.

jq.h  (jq-1.5):jq.h  (jq-1.6)
#ifndef JQ_H #ifndef JQ_H
#define JQ_H #define JQ_H
#include <stdio.h> #include <stdio.h>
#include <jv.h> #include "jv.h"
enum {JQ_DEBUG_TRACE = 1}; enum {
JQ_DEBUG_TRACE = 1,
JQ_DEBUG_TRACE_DETAIL = 2,
JQ_DEBUG_TRACE_ALL = JQ_DEBUG_TRACE | JQ_DEBUG_TRACE_DETAIL,
};
typedef struct jq_state jq_state; typedef struct jq_state jq_state;
typedef void (*jq_msg_cb)(void *, jv); typedef void (*jq_msg_cb)(void *, jv);
jq_state *jq_init(void); jq_state *jq_init(void);
void jq_set_error_cb(jq_state *, jq_msg_cb, void *); void jq_set_error_cb(jq_state *, jq_msg_cb, void *);
void jq_get_error_cb(jq_state *, jq_msg_cb *, void **); void jq_get_error_cb(jq_state *, jq_msg_cb *, void **);
void jq_set_nomem_handler(jq_state *, void (*)(void *), void *); void jq_set_nomem_handler(jq_state *, void (*)(void *), void *);
jv jq_format_error(jv msg); jv jq_format_error(jv msg);
void jq_report_error(jq_state *, jv); void jq_report_error(jq_state *, jv);
int jq_compile(jq_state *, const char*); int jq_compile(jq_state *, const char*);
int jq_compile_args(jq_state *, const char*, jv); int jq_compile_args(jq_state *, const char*, jv);
void jq_dump_disassembly(jq_state *, int); void jq_dump_disassembly(jq_state *, int);
void jq_start(jq_state *, jv value, int); void jq_start(jq_state *, jv value, int);
jv jq_next(jq_state *); jv jq_next(jq_state *);
void jq_teardown(jq_state **); void jq_teardown(jq_state **);
void jq_halt(jq_state *, jv, jv);
int jq_halted(jq_state *);
jv jq_get_exit_code(jq_state *);
jv jq_get_error_message(jq_state *);
typedef jv (*jq_input_cb)(jq_state *, void *); typedef jv (*jq_input_cb)(jq_state *, void *);
void jq_set_input_cb(jq_state *, jq_input_cb, void *); void jq_set_input_cb(jq_state *, jq_input_cb, void *);
void jq_get_input_cb(jq_state *, jq_input_cb *, void **); void jq_get_input_cb(jq_state *, jq_input_cb *, void **);
void jq_set_debug_cb(jq_state *, jq_msg_cb, void *); void jq_set_debug_cb(jq_state *, jq_msg_cb, void *);
void jq_get_debug_cb(jq_state *, jq_msg_cb *, void **); void jq_get_debug_cb(jq_state *, jq_msg_cb *, void **);
void jq_set_attrs(jq_state *, jv); void jq_set_attrs(jq_state *, jv);
jv jq_get_attrs(jq_state *); jv jq_get_attrs(jq_state *);
jv jq_get_jq_origin(jq_state *); jv jq_get_jq_origin(jq_state *);
skipping to change at line 60 skipping to change at line 69
void jq_util_input_set_parser(jq_util_input_state *, jv_parser *, int); void jq_util_input_set_parser(jq_util_input_state *, jv_parser *, int);
void jq_util_input_free(jq_util_input_state **); void jq_util_input_free(jq_util_input_state **);
void jq_util_input_add_input(jq_util_input_state *, const char *); void jq_util_input_add_input(jq_util_input_state *, const char *);
int jq_util_input_errors(jq_util_input_state *); int jq_util_input_errors(jq_util_input_state *);
jv jq_util_input_next_input(jq_util_input_state *); jv jq_util_input_next_input(jq_util_input_state *);
jv jq_util_input_next_input_cb(jq_state *, void *); jv jq_util_input_next_input_cb(jq_state *, void *);
jv jq_util_input_get_position(jq_state*); jv jq_util_input_get_position(jq_state*);
jv jq_util_input_get_current_filename(jq_state*); jv jq_util_input_get_current_filename(jq_state*);
jv jq_util_input_get_current_line(jq_state*); jv jq_util_input_get_current_line(jq_state*);
int jq_set_colors(const char *);
#endif /* !JQ_H */ #endif /* !JQ_H */
 End of changes. 4 change blocks. 
2 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)