summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main_process.c
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-04-12 15:53:29 +0100
committerAndrew Clayton <a.clayton@nginx.com>2024-11-15 00:52:38 +0000
commit6c085cfaf4f2244af72d1f98517e2908129120c5 (patch)
treeafce4fb966b10986ba1b5817bc2c1bf69a5ace66 /src/nxt_main_process.c
parenta35517901fb3c7d524739fc4fcf9e531d6404487 (diff)
downloadunit-6c085cfaf4f2244af72d1f98517e2908129120c5.tar.gz
unit-6c085cfaf4f2244af72d1f98517e2908129120c5.tar.bz2
Add a skeleton language module.skel_lm
Module is called 'skel'. Configure with $ ./configure skel Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_main_process.c')
-rw-r--r--src/nxt_main_process.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c
index e942c1a8..97a19aee 100644
--- a/src/nxt_main_process.c
+++ b/src/nxt_main_process.c
@@ -391,6 +391,16 @@ static nxt_conf_map_t nxt_wasm_wc_app_conf[] = {
};
+static nxt_conf_map_t nxt_skel_app_conf[] = {
+ {
+ nxt_string("module"),
+ NXT_CONF_MAP_CSTRZ,
+ offsetof(nxt_common_app_conf_t, u.skel.module),
+ },
+
+};
+
+
static nxt_conf_app_map_t nxt_app_maps[] = {
{ nxt_nitems(nxt_external_app_conf), nxt_external_app_conf },
{ nxt_nitems(nxt_python_app_conf), nxt_python_app_conf },
@@ -400,6 +410,7 @@ static nxt_conf_app_map_t nxt_app_maps[] = {
{ nxt_nitems(nxt_java_app_conf), nxt_java_app_conf },
{ nxt_nitems(nxt_wasm_app_conf), nxt_wasm_app_conf },
{ nxt_nitems(nxt_wasm_wc_app_conf), nxt_wasm_wc_app_conf },
+ { nxt_nitems(nxt_skel_app_conf), nxt_skel_app_conf },
};