summaryrefslogtreecommitdiff
path: root/ot_http.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-24 12:55:37 +0200
committerDirk Engling <erdgeist@erdgeist.org>2026-10-24 12:55:37 +0200
commit243a34d725873ca40b4ef514c26a4b7ae87bbe83 (patch)
treec27d1a6645b297a4777d55213ab7bbf7d976e36e /ot_http.h
parent1c73d4452b75d936b1ed8158a1a333017b065a92 (diff)
Replace libowfat's array with our new blob abstraction
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;