summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-02-26 19:48:38 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-02-26 19:48:38 +0300
commit547082171e5e78561964e0e64e16a47a5f9d92df (patch)
treecae2f24f91bca7b0e4c93ec1c4c049b9bb309f29 /src/nxt_conf.h
parent444b9ffea90c3d3f8c06421a03f027c889b4a1e2 (diff)
downloadunit-547082171e5e78561964e0e64e16a47a5f9d92df.tar.gz
unit-547082171e5e78561964e0e64e16a47a5f9d92df.tar.bz2
Introduced nxt_conf_array_elements_count().
Diffstat (limited to 'src/nxt_conf.h')
-rw-r--r--src/nxt_conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_conf.h b/src/nxt_conf.h
index 48521917..7c360dfe 100644
--- a/src/nxt_conf.h
+++ b/src/nxt_conf.h
@@ -125,6 +125,7 @@ void nxt_conf_set_element(nxt_conf_value_t *array, nxt_uint_t index,
nxt_conf_value_t *value);
nxt_int_t nxt_conf_set_element_string_dup(nxt_conf_value_t *array, nxt_mp_t *mp,
nxt_uint_t index, nxt_str_t *value);
+nxt_uint_t nxt_conf_array_elements_count(nxt_conf_value_t *value);
#endif /* _NXT_CONF_INCLUDED_ */