view src/http/ngx_http_script.h @ 493:975f62e77f02 release-0.1.21

nginx-0.1.21-RELEASE import *) Bugfix: the ngx_http_stub_status_module showed incorrect statistics if "rtsig" method was used or if several worker process ran on SMP. *) Bugfix: nginx could not be built by the icc compiler on Linux or if the zlib-1.2.x library was building from sources. *) Bugfix: nginx could not be built on NetBSD 2.0.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 22 Feb 2005 14:40:13 +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_ */