summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-04-10 17:06:22 +0300
committerValentin Bartenev <vbart@nginx.com>2017-04-10 17:06:22 +0300
commitbf401fa5440d5cc2026c8e181471dbc852cf6a80 (patch)
tree861bb19772add2c05510c623b9fac38469b7631a /src/nxt_conf.h
parent3b8963da4d9d92d83431cb35eefb3226d8e177e9 (diff)
downloadunit-bf401fa5440d5cc2026c8e181471dbc852cf6a80.tar.gz
unit-bf401fa5440d5cc2026c8e181471dbc852cf6a80.tar.bz2
JSON parsing in controller.
Diffstat (limited to '')
-rw-r--r--src/nxt_conf.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nxt_conf.h b/src/nxt_conf.h
new file mode 100644
index 00000000..5d29419a
--- /dev/null
+++ b/src/nxt_conf.h
@@ -0,0 +1,19 @@
+
+/*
+ * Copyright (C) Igor Sysoev
+ * Copyright (C) Valentin V. Bartenev
+ * Copyright (C) NGINX, Inc.
+ */
+
+#ifndef _NXT_CONF_INCLUDED_
+#define _NXT_CONF_INCLUDED_
+
+
+typedef struct nxt_conf_json_value_s nxt_conf_json_value_t;
+
+
+nxt_conf_json_value_t *nxt_conf_json_parse(nxt_buf_mem_t *b,
+ nxt_mem_pool_t *pool);
+
+
+#endif /* _NXT_CONF_INCLUDED_ */