diff options
Diffstat (limited to '')
-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 */ }; |