summaryrefslogtreecommitdiff
path: root/rds-csv-nginx-module-0.09/src/ngx_http_rds_csv_processor.h
blob: 011913b588a53eb259b061fc00f779d199f83d3a (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
27
28
29
30
31
32
33
34
/*
 * Copyright (C) Yichun Zhang (agentzh)
 */


#ifndef NGX_HTTP_RDS_CSV_PROCESSOR_H
#define NGX_HTTP_RDS_CSV_PROCESSOR_H


#include "ngx_http_rds_csv_filter_module.h"

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


ngx_int_t ngx_http_rds_csv_process_header(ngx_http_request_t *r,
    ngx_chain_t *in, ngx_http_rds_csv_ctx_t *ctx);

ngx_int_t ngx_http_rds_csv_process_col(ngx_http_request_t *r,
    ngx_chain_t *in, ngx_http_rds_csv_ctx_t *ctx);

ngx_int_t ngx_http_rds_csv_process_row(ngx_http_request_t *r,
    ngx_chain_t *in, ngx_http_rds_csv_ctx_t *ctx);

ngx_int_t ngx_http_rds_csv_process_field(ngx_http_request_t *r,
    ngx_chain_t *in, ngx_http_rds_csv_ctx_t *ctx);

ngx_int_t ngx_http_rds_csv_process_more_field_data(ngx_http_request_t *r,
    ngx_chain_t *in, ngx_http_rds_csv_ctx_t *ctx);


#endif /* NGX_HTTP_RDS_CSV_PROCESSOR_H */