summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-10-10 19:15:08 +0300
committerValentin Bartenev <vbart@nginx.com>2017-10-10 19:15:08 +0300
commite4bea2c75c6643f84eaaaae8f7c474e00e943b8a (patch)
treec4bf6974a62f962ce19978b416eb65941ae4bd68 /src/nxt_application.h
parent93438a0d9e61bf382be3b648c0504fcda2f9c748 (diff)
downloadunit-e4bea2c75c6643f84eaaaae8f7c474e00e943b8a.tar.gz
unit-e4bea2c75c6643f84eaaaae8f7c474e00e943b8a.tar.bz2
Optimized application type handling.
Diffstat (limited to 'src/nxt_application.h')
-rw-r--r--src/nxt_application.h3
1 files changed, 1 insertions, 2 deletions
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;