129Svbart@nginx.com 229Svbart@nginx.com /* 329Svbart@nginx.com * Copyright (C) Igor Sysoev 429Svbart@nginx.com * Copyright (C) Valentin V. Bartenev 529Svbart@nginx.com * Copyright (C) NGINX, Inc. 629Svbart@nginx.com */ 729Svbart@nginx.com 829Svbart@nginx.com #ifndef _NXT_CONF_INCLUDED_ 929Svbart@nginx.com #define _NXT_CONF_INCLUDED_ 1029Svbart@nginx.com 1129Svbart@nginx.com 1229Svbart@nginx.com typedef struct nxt_conf_json_value_s nxt_conf_json_value_t; 1329Svbart@nginx.com 1429Svbart@nginx.com 15*45Svbart@nginx.com typedef struct { 16*45Svbart@nginx.com nxt_uint_t level; 17*45Svbart@nginx.com nxt_bool_t more_space; /* 1 bit. */ 18*45Svbart@nginx.com } nxt_conf_json_pretty_t; 19*45Svbart@nginx.com 20*45Svbart@nginx.com 2144Svbart@nginx.com nxt_conf_json_value_t *nxt_conf_json_parse(u_char *pos, size_t length, 2229Svbart@nginx.com nxt_mem_pool_t *pool); 23*45Svbart@nginx.com uintptr_t nxt_conf_json_print_value(u_char *pos, nxt_conf_json_value_t *value, 24*45Svbart@nginx.com nxt_conf_json_pretty_t *pretty); 2529Svbart@nginx.com 2629Svbart@nginx.com 2729Svbart@nginx.com #endif /* _NXT_CONF_INCLUDED_ */ 28