forked from matsumotory/ngx_mruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathngx_http_mruby_module.h
More file actions
38 lines (31 loc) · 1.04 KB
/
ngx_http_mruby_module.h
File metadata and controls
38 lines (31 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
// ngx_http_mruby_module.h - ngx_mruby mruby module header
//
// See Copyright Notice in ngx_http_mruby_module.c
*/
#ifndef NGX_HTTP_MRUBY_MODULE_H
#define NGX_HTTP_MRUBY_MODULE_H
#include <ngx_core.h>
#include <ngx_http.h>
#include <nginx.h>
#include "ngx_http_mruby_core.h"
#include "ngx_http_mruby_init.h"
#define MODULE_NAME "ngx_mruby"
#define MODULE_VERSION "0.0.1"
extern ngx_module_t ngx_http_mruby_module;
typedef struct ngx_http_mruby_loc_conf_t {
ngx_mrb_state_t *post_read_state;
ngx_mrb_state_t *server_rewrite_state;
ngx_mrb_state_t *rewrite_state;
ngx_mrb_state_t *access_state;
ngx_mrb_state_t *handler_state;
ngx_mrb_state_t *log_handler_state;
ngx_mrb_state_t *post_read_inline_state;
ngx_mrb_state_t *server_rewrite_inline_state;
ngx_mrb_state_t *rewrite_inline_state;
ngx_mrb_state_t *access_inline_state;
ngx_mrb_state_t *content_inline_state;
ngx_mrb_state_t *log_inline_state;
ngx_flag_t cached;
} ngx_http_mruby_loc_conf_t;
#endif // NGX_HTTP_MRUBY_MODULE_H