view src/http/ngx_http_script.h @ 495:fc9909c369b2 release-0.1.22

nginx-0.1.22-RELEASE import *) Bugfix: the ngx_http_stub_status_module showed incorrect handled connections statistics if the proxying or FastCGI server were used. *) Bugfix: the installation paths were incorrectly quoted on Linux and Solaris; the bug had appeared in 0.1.21.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 24 Feb 2005 12:29:09 +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_ */