summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_index_handler.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-09-11 15:18:33 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-09-11 15:18:33 +0000
commite0268b95c6dea75f88d3874213b1aa0cd0aba692 (patch)
tree49f871f82639d76c81618bff00546591bfef37d9 /src/http/modules/ngx_http_index_handler.h
parent96f8377fd89b8735027ccfebea8ad9e77f40f51c (diff)
downloadnginx-e0268b95c6dea75f88d3874213b1aa0cd0aba692.tar.gz
nginx-e0268b95c6dea75f88d3874213b1aa0cd0aba692.tar.bz2
nginx-0.0.1-2002-09-11-19:18:33 import
Diffstat (limited to 'src/http/modules/ngx_http_index_handler.h')
-rw-r--r--src/http/modules/ngx_http_index_handler.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_index_handler.h b/src/http/modules/ngx_http_index_handler.h
new file mode 100644
index 000000000..721bf2520
--- /dev/null
+++ b/src/http/modules/ngx_http_index_handler.h
@@ -0,0 +1,26 @@
+#ifndef _NGX_HTTP_INDEX_HANDLER_H_INCLUDED_
+#define _NGX_HTTP_INDEX_HANDLER_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_array.h>
+#include <ngx_http.h>
+
+
+#define NGX_HTTP_INDEX "index.html"
+
+typedef struct {
+ ngx_array_t *indices;
+ size_t max_index_len;
+} ngx_http_index_conf_t;
+
+typedef struct {
+ char *name;
+ size_t len;
+} ngx_http_index_file_t;
+
+
+extern ngx_http_module_t ngx_http_index_module;
+
+
+#endif /* _NGX_HTTP_INDEX_HANDLER_H_INCLUDED_ */