nxt_fastcgi_source.h (15:b0324c4caf70) nxt_fastcgi_source.h (65:10688b89aa16)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_FASTCGI_SOURCE_H_INCLUDED_
8#define _NXT_FASTCGI_SOURCE_H_INCLUDED_

--- 23 unchanged lines hidden (view full) ---

32 uint8_t error; /* 1 bit */
33 uint8_t done; /* 1 bit */
34
35 /* FastCGI stdout and stderr buffer chains. */
36 nxt_buf_t *out[2];
37
38 nxt_buf_t *(*last_buf)(nxt_fastcgi_parse_t *fp);
39 void *data;
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_FASTCGI_SOURCE_H_INCLUDED_
8#define _NXT_FASTCGI_SOURCE_H_INCLUDED_

--- 23 unchanged lines hidden (view full) ---

32 uint8_t error; /* 1 bit */
33 uint8_t done; /* 1 bit */
34
35 /* FastCGI stdout and stderr buffer chains. */
36 nxt_buf_t *out[2];
37
38 nxt_buf_t *(*last_buf)(nxt_fastcgi_parse_t *fp);
39 void *data;
40 nxt_mem_pool_t *mem_pool;
40 nxt_mp_t *mem_pool;
41};
42
43
44typedef struct {
45 nxt_fastcgi_parse_t parse;
46 nxt_source_hook_t next;
47} nxt_fastcgi_source_record_t;
48

--- 30 unchanged lines hidden (view full) ---

79 nxt_fastcgi_source_request_t request;
80 } u;
81};
82
83
84NXT_EXPORT void nxt_fastcgi_source_handler(nxt_task_t *task,
85 nxt_upstream_source_t *us,
86 nxt_fastcgi_source_request_create_t request_create);
41};
42
43
44typedef struct {
45 nxt_fastcgi_parse_t parse;
46 nxt_source_hook_t next;
47} nxt_fastcgi_source_record_t;
48

--- 30 unchanged lines hidden (view full) ---

79 nxt_fastcgi_source_request_t request;
80 } u;
81};
82
83
84NXT_EXPORT void nxt_fastcgi_source_handler(nxt_task_t *task,
85 nxt_upstream_source_t *us,
86 nxt_fastcgi_source_request_create_t request_create);
87NXT_EXPORT nxt_int_t nxt_fastcgi_source_hash_create(nxt_mem_pool_t *mp,
87NXT_EXPORT nxt_int_t nxt_fastcgi_source_hash_create(nxt_mp_t *mp,
88 nxt_lvlhsh_t *lh);
89void nxt_fastcgi_record_parse(nxt_task_t *task, nxt_fastcgi_parse_t *fp,
90 nxt_buf_t *in);
91
92
93#endif /* _NXT_FASTCGI_SOURCE_H_INCLUDED_ */
88 nxt_lvlhsh_t *lh);
89void nxt_fastcgi_record_parse(nxt_task_t *task, nxt_fastcgi_parse_t *fp,
90 nxt_buf_t *in);
91
92
93#endif /* _NXT_FASTCGI_SOURCE_H_INCLUDED_ */