Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ngx_event_pipe.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (C) Igor Sysoev
4  * Copyright (C) Nginx, Inc.
5  */
6 
7 
8 #ifndef _NGX_EVENT_PIPE_H_INCLUDED_
9 #define _NGX_EVENT_PIPE_H_INCLUDED_
10 
11 
12 #include <ngx_config.h>
13 #include <ngx_core.h>
14 #include <ngx_event.h>
15 
16 
18 
20  ngx_buf_t *buf);
22  ngx_chain_t *chain);
23 
24 
28 
32 
36 
37  /*
38  * the input filter i.e. that moves HTTP/1.1 chunks
39  * from the raw bufs to an incoming chain
40  */
41 
43  void *input_ctx;
44 
46  void *output_ctx;
47 
48  unsigned read:1;
49  unsigned cacheable:1;
50  unsigned single_buf:1;
51  unsigned free_bufs:1;
52  unsigned upstream_done:1;
53  unsigned upstream_error:1;
54  unsigned upstream_eof:1;
55  unsigned upstream_blocked:1;
56  unsigned downstream_done:1;
57  unsigned downstream_error:1;
58  unsigned cyclic_temp_file:1;
59 
63 
64  ssize_t busy_size;
65 
66  off_t read_length;
67  off_t length;
68 
71 
74  ssize_t send_lowat;
75 
78 
80  size_t preread_size;
82 
84 
85  /* STUB */ int num;
86 };
87 
88 
92 
93 
94 #endif /* _NGX_EVENT_PIPE_H_INCLUDED_ */