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
35
36
37
38
|
/*
* Copyright (C) Yichun Zhang (agentzh)
*/
#ifndef NGX_HTTP_RDS_CSV_OUTPUT_H
#define NGX_HTTP_RDS_CSV_OUTPUT_H
#include "ngx_http_rds_csv_filter_module.h"
#include "ngx_http_rds.h"
#include <ngx_core.h>
#include <ngx_http.h>
#include <nginx.h>
ngx_int_t ngx_http_rds_csv_output_header(ngx_http_request_t *r,
ngx_http_rds_csv_ctx_t *ctx, ngx_http_rds_header_t *header);
ngx_int_t ngx_http_rds_csv_output_field_names(ngx_http_request_t *r,
ngx_http_rds_csv_ctx_t *ctx);
ngx_int_t ngx_http_rds_csv_output_literal(ngx_http_request_t *r,
ngx_http_rds_csv_ctx_t *ctx, u_char *data, size_t len, int last_buf);
ngx_int_t ngx_http_rds_csv_output_bufs(ngx_http_request_t *r,
ngx_http_rds_csv_ctx_t *ctx);
ngx_int_t ngx_http_rds_csv_output_field(ngx_http_request_t *r,
ngx_http_rds_csv_ctx_t *ctx, u_char *data, size_t len, int is_null);
ngx_int_t ngx_http_rds_csv_output_more_field_data(ngx_http_request_t *r,
ngx_http_rds_csv_ctx_t *ctx, u_char *data, size_t len);
#endif /* NGX_HTTP_RDS_CSV_OUTPUT_H */
|