diff options
author | Alexander Borisov <alexander.borisov@nginx.com> | 2018-03-21 16:50:07 +0300 |
---|---|---|
committer | Alexander Borisov <alexander.borisov@nginx.com> | 2018-03-21 16:50:07 +0300 |
commit | 37051b6c15cce7d6ab01c50e1086f8ef0b34e93d (patch) | |
tree | d6f7fee987e795613c4088c7fa12709888d0a00e /src/nxt_application.h | |
parent | 778a90c319e47f688b749e43df33f3eb9dce3e72 (diff) | |
download | unit-37051b6c15cce7d6ab01c50e1086f8ef0b34e93d.tar.gz unit-37051b6c15cce7d6ab01c50e1086f8ef0b34e93d.tar.bz2 |
Added Ruby support.
Diffstat (limited to 'src/nxt_application.h')
-rw-r--r-- | src/nxt_application.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h index b6391149..6c5f0d6e 100644 --- a/src/nxt_application.h +++ b/src/nxt_application.h @@ -14,6 +14,7 @@ typedef enum { NXT_APP_PHP, NXT_APP_GO, NXT_APP_PERL, + NXT_APP_RUBY, NXT_APP_UNKNOWN, } nxt_app_type_t; @@ -58,6 +59,11 @@ typedef struct { } nxt_perl_app_conf_t; +typedef struct { + nxt_str_t script; +} nxt_ruby_app_conf_t; + + struct nxt_common_app_conf_s { nxt_str_t name; nxt_str_t type; @@ -71,6 +77,7 @@ struct nxt_common_app_conf_s { nxt_php_app_conf_t php; nxt_go_app_conf_t go; nxt_perl_app_conf_t perl; + nxt_ruby_app_conf_t ruby; } u; }; @@ -145,8 +152,9 @@ struct nxt_app_wmsg_s { uint32_t stream; }; + struct nxt_app_rmsg_s { - nxt_buf_t *buf; /* current buffer to read */ + nxt_buf_t *buf; /* current buffer to read */ }; |