Stuff now compiles with nginx 0.6.9 sources. Changed enum type to plain
ngx_uint_t, so we can use nginx's config merge macros.pull/4/head
parent
d7129e30f9
commit
4e3d3c4816
3
.todo
3
.todo
|
@ -23,4 +23,7 @@
|
|||
<note priority="medium" time="1187975712">
|
||||
footer:cache
|
||||
</note>
|
||||
<note priority="medium" time="1188384488">
|
||||
split big handler function into smaller pieces
|
||||
</note>
|
||||
</todo>
|
||||
|
|
|
@ -54,12 +54,15 @@ typedef struct {
|
|||
#define NGX_HTTP_FANCYINDEX_README_DIV 0x04
|
||||
#define NGX_HTTP_FANCYINDEX_README_IFRAME 0x08
|
||||
|
||||
|
||||
typedef enum {
|
||||
NGX_HTTP_FANCYINDEX_INCLUDE_STATIC, /* Cache file contents on first request */
|
||||
NGX_HTTP_FANCYINDEX_INCLUDE_CACHED, /* Cache file contents on first request,
|
||||
and re-read if needed afterwards */
|
||||
} ngx_http_fancyindex_include_mode_t;
|
||||
/*
|
||||
* NGX_HTTP_FANCYINDEX_INCLUDE_STATIC
|
||||
* Cache file contents on first request
|
||||
* NGX_HTTP_FANCYINDEX_INCLUDE_CACHED
|
||||
* Cache file contents on first request,
|
||||
* and re-read if needed afterwards
|
||||
*/
|
||||
#define NGX_HTTP_FANCYINDEX_INCLUDE_STATIC 0
|
||||
#define NGX_HTTP_FANCYINDEX_INCLUDE_CACHED 1
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
@ -72,8 +75,7 @@ typedef struct {
|
|||
ngx_str_t readme;
|
||||
|
||||
ngx_uint_t readme_flags;
|
||||
|
||||
ngx_http_fancyindex_include_mode_t include_mode;
|
||||
ngx_uint_t include_mode;
|
||||
} ngx_http_fancyindex_loc_conf_t;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue