From 547082171e5e78561964e0e64e16a47a5f9d92df Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 26 Feb 2019 19:48:38 +0300 Subject: Introduced nxt_conf_array_elements_count(). --- src/nxt_conf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nxt_conf.h') 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_ */ -- cgit From ce650ea0f703f9228638e88ccb62d207aa647bf2 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 26 Feb 2019 19:48:41 +0300 Subject: Introduced nxt_conf_array_qsort(). --- src/nxt_conf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nxt_conf.h') diff --git a/src/nxt_conf.h b/src/nxt_conf.h index 7c360dfe..052334fe 100644 --- a/src/nxt_conf.h +++ b/src/nxt_conf.h @@ -126,6 +126,8 @@ void nxt_conf_set_element(nxt_conf_value_t *array, nxt_uint_t index, 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); +void nxt_conf_array_qsort(nxt_conf_value_t *value, + int (*compare)(const void *, const void *)); #endif /* _NXT_CONF_INCLUDED_ */ -- cgit From 5bfdebb9e4161a689113d73775498949a09d7fb5 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Thu, 28 Feb 2019 18:02:42 +0300 Subject: Introducing Java Servlet Container beta. --- src/nxt_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_conf.h') diff --git a/src/nxt_conf.h b/src/nxt_conf.h index 052334fe..20ff3b1e 100644 --- a/src/nxt_conf.h +++ b/src/nxt_conf.h @@ -125,7 +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); +NXT_EXPORT nxt_uint_t nxt_conf_array_elements_count(nxt_conf_value_t *value); void nxt_conf_array_qsort(nxt_conf_value_t *value, int (*compare)(const void *, const void *)); -- cgit