diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-08-16 15:45:38 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-08-16 15:45:38 +0300 |
commit | 1ba2f44ad9b95670452f31a0923b8a118a08d867 (patch) | |
tree | 1e9c894eeddaff3ea5cfe8e9e656f281e998d9e0 /src/nxt_conf.h | |
parent | 95907e29128c51be79aec0b5149e2639c3fd9042 (diff) | |
download | unit-1ba2f44ad9b95670452f31a0923b8a118a08d867.tar.gz unit-1ba2f44ad9b95670452f31a0923b8a118a08d867.tar.bz2 |
Introduced nxt_conf_get_array_element().
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 3ff07e08..7d323cdf 100644 --- a/src/nxt_conf.h +++ b/src/nxt_conf.h @@ -64,6 +64,8 @@ nxt_conf_value_t *nxt_conf_get_object_member(nxt_conf_value_t *value, nxt_str_t *name, uint32_t *index); nxt_conf_value_t *nxt_conf_next_object_member(nxt_conf_value_t *value, nxt_str_t *name, uint32_t *next); +nxt_conf_value_t *nxt_conf_get_array_element(nxt_conf_value_t *value, + uint32_t index); nxt_int_t nxt_conf_map_object(nxt_mp_t *mp, nxt_conf_value_t *value, nxt_conf_map_t *map, nxt_uint_t n, void *data); |