summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
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_application.h
parenta35517901fb3c7d524739fc4fcf9e531d6404487 (diff)
downloadunit-skel_lm.tar.gz
unit-skel_lm.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_application.h')
-rw-r--r--src/nxt_application.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index a3b4230a..3668697a 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -23,6 +23,7 @@ typedef enum {
NXT_APP_JAVA,
NXT_APP_WASM,
NXT_APP_WASM_WC,
+ NXT_APP_SKEL,
NXT_APP_UNKNOWN,
} nxt_app_type_t;
@@ -113,6 +114,11 @@ typedef struct {
} nxt_wasm_wc_app_conf_t;
+typedef struct {
+ char *module;
+} nxt_skel_app_conf_t;
+
+
struct nxt_common_app_conf_s {
nxt_str_t name;
nxt_str_t type;
@@ -143,6 +149,7 @@ struct nxt_common_app_conf_s {
nxt_java_app_conf_t java;
nxt_wasm_app_conf_t wasm;
nxt_wasm_wc_app_conf_t wasm_wc;
+ nxt_skel_app_conf_t skel;
} u;
nxt_conf_value_t *self;