diff options
Diffstat (limited to 'src/examples/mhd2spdy_structures.h')
-rw-r--r-- | src/examples/mhd2spdy_structures.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/examples/mhd2spdy_structures.h b/src/examples/mhd2spdy_structures.h index 88c28c64..863661b2 100644 --- a/src/examples/mhd2spdy_structures.h +++ b/src/examples/mhd2spdy_structures.h | |||
@@ -112,14 +112,18 @@ struct Proxy | |||
112 | char *url; | 112 | char *url; |
113 | char *version; | 113 | char *version; |
114 | void *http_body; | 114 | void *http_body; |
115 | void *received_body; | ||
115 | size_t http_body_size; | 116 | size_t http_body_size; |
117 | size_t received_body_size; | ||
116 | ssize_t length; | 118 | ssize_t length; |
117 | int status; | 119 | int status; |
118 | int id; | 120 | int id; |
121 | int32_t stream_id; | ||
119 | bool done; | 122 | bool done; |
120 | bool error; | 123 | bool error; |
121 | bool http_active; | 124 | bool http_active; |
122 | bool spdy_active; | 125 | bool spdy_active; |
126 | bool receiving_done; | ||
123 | }; | 127 | }; |
124 | 128 | ||
125 | 129 | ||
@@ -265,4 +269,7 @@ void * | |||
265 | au_malloc(size_t size); | 269 | au_malloc(size_t size); |
266 | 270 | ||
267 | 271 | ||
272 | bool | ||
273 | copy_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size); | ||
274 | |||
268 | #endif | 275 | #endif |