From 55041ef9607c073bc5e1b431ec271e9c23200cb1 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Thu, 4 Jul 2024 15:52:56 +0100 Subject: Flow the language module name into nxt_app_lang_module_t The nxt_app_lang_module_t structure contains various bits of information as obtained from the nxt_app_module_t structure that language modules define. One bit of information that is in the nxt_app_module_t but not in the nxt_app_lang_module_t is the language module name. Having this name flowed through will be useful for displaying the loaded language modules in the /status endpoint. Signed-off-by: Andrew Clayton --- src/nxt_application.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nxt_application.h') diff --git a/src/nxt_application.h b/src/nxt_application.h index f5d7a9df..a3b4230a 100644 --- a/src/nxt_application.h +++ b/src/nxt_application.h @@ -35,6 +35,7 @@ typedef nxt_int_t (*nxt_application_setup_t)(nxt_task_t *task, typedef struct { nxt_app_type_t type; + char *name; u_char *version; char *file; nxt_app_module_t *module; -- cgit