diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-05-23 14:02:37 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-05-23 14:02:37 +0300 |
commit | 48155f3a492beb101b5615dc7ff97f525133b434 (patch) | |
tree | 0ad374a58314bee24ec4251e67e3713016fc7d7b /src/nxt_conf.h | |
parent | c7be5bd6ae38bdc7d29ee0b3170e5eb828e92d2d (diff) | |
download | unit-48155f3a492beb101b5615dc7ff97f525133b434.tar.gz unit-48155f3a492beb101b5615dc7ff97f525133b434.tar.bz2 |
Optimized internal representation of JSON objects and arrays.
Diffstat (limited to 'src/nxt_conf.h')
-rw-r--r-- | src/nxt_conf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_conf.h b/src/nxt_conf.h index cf073e3a..43154a8f 100644 --- a/src/nxt_conf.h +++ b/src/nxt_conf.h @@ -20,6 +20,8 @@ typedef struct { nxt_conf_json_value_t *nxt_conf_json_value_get(nxt_conf_json_value_t *value, nxt_str_t *path); +nxt_conf_json_value_t *nxt_conf_json_object_get_member( + nxt_conf_json_value_t *value, u_char *name, size_t length); nxt_conf_json_value_t *nxt_conf_json_parse(u_char *pos, size_t length, nxt_mem_pool_t *pool); uintptr_t nxt_conf_json_print_value(u_char *pos, nxt_conf_json_value_t *value, |