summaryrefslogtreecommitdiff
path: root/c/wasi-http/echo-request/component.c
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-12-11 23:51:09 +0000
committerAndrew Clayton <a.clayton@nginx.com>2023-12-11 23:51:09 +0000
commit031044579c81c3114dbd66d93b73a124de1bef7d (patch)
tree7c5c92f66cbcb94990c7f867f501e1af1152ef7a /c/wasi-http/echo-request/component.c
parent838509e0cd56a4ca81746163816c2005b3770b68 (diff)
downloadproject_blackbird-031044579c81c3114dbd66d93b73a124de1bef7d.tar.gz
project_blackbird-031044579c81c3114dbd66d93b73a124de1bef7d.tar.bz2
wasi-http/echo-request: Update for latest wit-bindgen changes
Some of the u8 list types were changed/amalgamated. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'c/wasi-http/echo-request/component.c')
-rw-r--r--c/wasi-http/echo-request/component.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/wasi-http/echo-request/component.c b/c/wasi-http/echo-request/component.c
index fde450a..6f4c626 100644
--- a/c/wasi-http/echo-request/component.c
+++ b/c/wasi-http/echo-request/component.c
@@ -60,16 +60,16 @@ void exports_wasi_http_incoming_handler_handle(
wasi_http_types_borrow_outgoing_body_t b_body;
wasi_io_streams_own_output_stream_t out_stream;
wasi_io_streams_borrow_output_stream_t b_out_stream;
- wasi_io_streams_list_u8_t stream_data;
+ proxy_list_u8_t stream_data;
wasi_io_streams_stream_error_t stream_err;
wasi_http_types_header_error_t hdr_err;
wasi_http_types_field_key_t key;
wasi_http_types_field_value_t value;
wasi_http_types_method_t method;
- wasi_http_types_list_tuple2_field_key_field_value_t fvk;
+ proxy_list_tuple2_field_key_field_value_t fvk;
wasi_http_types_own_input_stream_t in_stream;
wasi_io_streams_borrow_input_stream_t b_in_stream;
- wasi_io_streams_list_u8_t data;
+ proxy_list_u8_t data;
wasi_io_streams_stream_error_t in_stream_err;
proxy_string_t prstr;
@@ -102,7 +102,7 @@ void exports_wasi_http_incoming_handler_handle(
(int)fvk.ptr[i].f0.len, fvk.ptr[i].f0.ptr,
(int)fvk.ptr[i].f1.len, fvk.ptr[i].f1.ptr);
- wasi_http_types_list_tuple2_field_key_field_value_free(&fvk);
+ proxy_list_tuple2_field_key_field_value_free(&fvk);
ok = wasi_http_types_method_incoming_request_consume(b_req, &r_body);
if (!ok)