Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ngx_http_script.h « http « src - github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 658faaa9b38ecbf6a3d563381d2cba0fc1826130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

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