view src/http/ngx_http_script.h @ 499:64d9afb209da release-0.1.24

nginx-0.1.24-RELEASE import *) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING and DOCUMENT_URI variables. *) Bugfix: the ngx_http_autoindex_module may some times return the 404 response for existent directory, if this directory was used in "alias" directive. *) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large responses. *) Bugfix: the lack of the "Referer" header line was always accounted as valid referrer.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 04 Mar 2005 14:06:57 +0000
parents c52408583801
children cd3117ad9aab
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 */


#ifndef _NGX_HTTP_SCRIPT_H_INCLUDED_
#define _NGX_HTTP_SCRIPT_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>


typedef u_char *(*ngx_http_script_code_pt) (ngx_http_request_t *r,
                                            u_char *buf, void *data);

typedef struct ngx_http_script_code_s {
    size_t                   data_len;
    size_t                   code_len;
    ngx_http_script_code_pt  code;
} ngx_http_script_code_t;


#endif /* _NGX_HTTP_SCRIPT_H_INCLUDED_ */