summaryrefslogtreecommitdiff
path: root/ot_http.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.h')
-rw-r--r--ot_http.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/ot_http.h b/ot_http.h
index 84da0c2..7e367ed 100644
--- a/ot_http.h
+++ b/ot_http.h
@@ -7,18 +7,14 @@
7#define __OT_HTTP_H__ 7#define __OT_HTTP_H__
8 8
9typedef enum { 9typedef enum {
10 STRUCT_HTTP_FLAG_ARRAY_USED = 1, 10 STRUCT_HTTP_FLAG_WAITINGFORTASK = 1,
11 STRUCT_HTTP_FLAG_IOB_USED = 2, 11 STRUCT_HTTP_FLAG_GZIP = 2,
12 STRUCT_HTTP_FLAG_WAITINGFORTASK = 4, 12 STRUCT_HTTP_FLAG_BZIP2 = 4
13 STRUCT_HTTP_FLAG_GZIP = 8,
14 STRUCT_HTTP_FLAG_BZIP2 = 16
15} STRUCT_HTTP_FLAG; 13} STRUCT_HTTP_FLAG;
16 14
17struct http_data { 15struct http_data {
18 union { 16 array request;
19 array request; 17 io_batch batch;
20 io_batch batch;
21 } data;
22 ot_ip6 ip; 18 ot_ip6 ip;
23 STRUCT_HTTP_FLAG flag; 19 STRUCT_HTTP_FLAG flag;
24}; 20};