diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-24 12:55:37 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-24 12:55:37 +0200 |
| commit | 243a34d725873ca40b4ef514c26a4b7ae87bbe83 (patch) | |
| tree | c27d1a6645b297a4777d55213ab7bbf7d976e36e /ot_http.h | |
| parent | 1c73d4452b75d936b1ed8158a1a333017b065a92 (diff) | |
Replace libowfat's array with our new blob abstraction
Diffstat (limited to 'ot_http.h')
| -rw-r--r-- | ot_http.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -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 | |||
| 9 | typedef enum { | 11 | typedef 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 | ||
| 18 | struct http_data { | 20 | struct 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; |
