summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_conf.h')
-rw-r--r--src/nxt_conf.h4
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);