summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_conf.c')
-rw-r--r--src/nxt_conf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nxt_conf.c b/src/nxt_conf.c
index 872a62af..684135cf 100644
--- a/src/nxt_conf.c
+++ b/src/nxt_conf.c
@@ -163,6 +163,13 @@ nxt_conf_get_string(nxt_conf_value_t *value, nxt_str_t *str)
}
+int64_t
+nxt_conf_get_integer(nxt_conf_value_t *value)
+{
+ return value->u.integer;
+}
+
+
nxt_uint_t
nxt_conf_object_members_count(nxt_conf_value_t *value)
{