summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_application.h')
-rw-r--r--src/nxt_application.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index 64866db6..f5d7a9df 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -22,6 +22,7 @@ typedef enum {
NXT_APP_RUBY,
NXT_APP_JAVA,
NXT_APP_WASM,
+ NXT_APP_WASM_WC,
NXT_APP_UNKNOWN,
} nxt_app_type_t;
@@ -104,6 +105,13 @@ typedef struct {
} nxt_wasm_app_conf_t;
+typedef struct {
+ const char *component;
+
+ nxt_conf_value_t *access;
+} nxt_wasm_wc_app_conf_t;
+
+
struct nxt_common_app_conf_s {
nxt_str_t name;
nxt_str_t type;
@@ -133,6 +141,7 @@ struct nxt_common_app_conf_s {
nxt_ruby_app_conf_t ruby;
nxt_java_app_conf_t java;
nxt_wasm_app_conf_t wasm;
+ nxt_wasm_wc_app_conf_t wasm_wc;
} u;
nxt_conf_value_t *self;