nxt_conf.h (1473:e07d5b451423) nxt_conf.h (1969:be6409cdb028)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#ifndef _NXT_CONF_INCLUDED_

--- 58 unchanged lines hidden (view full) ---

67} nxt_conf_json_pretty_t;
68
69
70typedef struct {
71 nxt_conf_value_t *conf;
72 nxt_mp_t *pool;
73 nxt_str_t error;
74 void *ctx;
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#ifndef _NXT_CONF_INCLUDED_

--- 58 unchanged lines hidden (view full) ---

67} nxt_conf_json_pretty_t;
68
69
70typedef struct {
71 nxt_conf_value_t *conf;
72 nxt_mp_t *pool;
73 nxt_str_t error;
74 void *ctx;
75 nxt_mp_t *conf_pool;
76 nxt_uint_t ver;
75} nxt_conf_validation_t;
76
77
78NXT_EXPORT nxt_uint_t nxt_conf_type(nxt_conf_value_t *value);
79
80NXT_EXPORT nxt_conf_value_t *nxt_conf_get_path(nxt_conf_value_t *value,
81 nxt_str_t *path);
82NXT_EXPORT nxt_conf_value_t *nxt_conf_get_object_member(nxt_conf_value_t *value,

--- 62 unchanged lines hidden ---
77} nxt_conf_validation_t;
78
79
80NXT_EXPORT nxt_uint_t nxt_conf_type(nxt_conf_value_t *value);
81
82NXT_EXPORT nxt_conf_value_t *nxt_conf_get_path(nxt_conf_value_t *value,
83 nxt_str_t *path);
84NXT_EXPORT nxt_conf_value_t *nxt_conf_get_object_member(nxt_conf_value_t *value,

--- 62 unchanged lines hidden ---