view src/http/modules/ngx_http_index_handler.h @ 14:f8a0d0f31a24

nginx-0.0.1-2002-09-17-21:49:32 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Sep 2002 17:49:32 +0000
parents 4f3879d9b6f6
children 77c7629a2627
line wrap: on
line source

#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_ */