Introduced nxt_conf_array_qsort().

This commit is contained in:
Igor Sysoev
2019-02-26 19:48:41 +03:00
parent 547082171e
commit ce650ea0f7
2 changed files with 18 additions and 0 deletions

View File

@@ -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_ */