From e4bea2c75c6643f84eaaaae8f7c474e00e943b8a Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 10 Oct 2017 19:15:08 +0300 Subject: Optimized application type handling. --- src/nxt_application.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/nxt_application.h') diff --git a/src/nxt_application.h b/src/nxt_application.h index 5561d854..00659a28 100644 --- a/src/nxt_application.h +++ b/src/nxt_application.h @@ -23,7 +23,7 @@ typedef struct nxt_app_module_s nxt_app_module_t; typedef struct { - nxt_str_t type; + nxt_app_type_t type; u_char *version; char *file; nxt_application_module_t *module; @@ -297,7 +297,6 @@ nxt_app_msg_read_length(u_char *src, size_t *length) nxt_app_lang_module_t *nxt_app_lang_module(nxt_runtime_t *rt, nxt_str_t *name); -nxt_app_type_t nxt_app_parse_type(nxt_str_t *str); extern nxt_application_module_t nxt_go_module; -- cgit