summaryrefslogtreecommitdiff
path: root/ot_http.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.h')
-rw-r--r--ot_http.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ot_http.h b/ot_http.h
index 8980682..e53accc 100644
--- a/ot_http.h
+++ b/ot_http.h
@@ -6,6 +6,8 @@
6#ifndef OT_HTTP_H__ 6#ifndef OT_HTTP_H__
7#define OT_HTTP_H__ 7#define OT_HTTP_H__
8 8
9#include "ot_buf.h"
10
9typedef enum { 11typedef enum {
10 STRUCT_HTTP_FLAG_WAITINGFORTASK = 1, 12 STRUCT_HTTP_FLAG_WAITINGFORTASK = 1,
11 STRUCT_HTTP_FLAG_GZIP = 2, 13 STRUCT_HTTP_FLAG_GZIP = 2,
@@ -16,7 +18,7 @@ typedef enum {
16} STRUCT_HTTP_FLAG; 18} STRUCT_HTTP_FLAG;
17 19
18struct http_data { 20struct http_data {
19 array request; 21 ot_buf request;
20 io_batch *batch; 22 io_batch *batch;
21 size_t batches; 23 size_t batches;
22 ot_ip6 ip; 24 ot_ip6 ip;