diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-06-23 23:28:37 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-06-23 23:28:37 +0300 |
commit | 9399a04121c054433ba3247523487d94ba9db2ba (patch) | |
tree | f441a1eac67258b444881018d072520bcb1df333 /src/nxt_conf.h | |
parent | 72429410f78721a7c7076d4684e4c23e47d80bcf (diff) | |
download | unit-9399a04121c054433ba3247523487d94ba9db2ba.tar.gz unit-9399a04121c054433ba3247523487d94ba9db2ba.tar.bz2 |
Configuration printing functions splitted in two parts.
Requested by Igor.
Diffstat (limited to 'src/nxt_conf.h')
-rw-r--r-- | src/nxt_conf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nxt_conf.h b/src/nxt_conf.h index f06fbf3b..91002741 100644 --- a/src/nxt_conf.h +++ b/src/nxt_conf.h @@ -36,7 +36,9 @@ nxt_conf_json_value_t *nxt_conf_json_parse(nxt_mp_t *mp, u_char *start, #define nxt_conf_json_str_parse(mp, str) \ nxt_conf_json_parse(mp, (str)->start, (str)->start + (str)->length) -uintptr_t nxt_conf_json_print_value(u_char *p, nxt_conf_json_value_t *value, +size_t nxt_conf_json_value_length(nxt_conf_json_value_t *value, + nxt_conf_json_pretty_t *pretty); +u_char *nxt_conf_json_value_print(u_char *p, nxt_conf_json_value_t *value, nxt_conf_json_pretty_t *pretty); |