summaryrefslogtreecommitdiff
path: root/src/http_decoder_table.h
diff options
context:
space:
mode:
author李佳 <[email protected]>2024-04-12 07:08:27 +0000
committer李佳 <[email protected]>2024-04-12 07:08:27 +0000
commit55ac6e270ae37299e2bce3a47a3d784e29dcae14 (patch)
tree577f3c13e07dba159f8c77800b8bf9220c380643 /src/http_decoder_table.h
parent9403db98e5e0b435ee9da8e049be0ed2d1727cc9 (diff)
parent9ea86638e1676a6fc8c8892beb3fb6afd431b5cc (diff)
Merge branch 'delete-getxxx-api-dir' into 'develop'
Remove the dir of http_message_get_xxx API, because msg type already contains this information See merge request stellar/http_decoder!4
Diffstat (limited to 'src/http_decoder_table.h')
-rw-r--r--src/http_decoder_table.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/http_decoder_table.h b/src/http_decoder_table.h
index fe443bb..906a28d 100644
--- a/src/http_decoder_table.h
+++ b/src/http_decoder_table.h
@@ -65,12 +65,11 @@ int http_decoder_table_get_body(struct http_decoder_table *table, struct hstring
int http_decoder_table_get_header(struct http_decoder_table *table,
struct hstring *key,
- struct http_header *hdr_array,
- size_t array_size);
+ struct http_header *hdr_res);
int http_decoder_table_iter_header(struct http_decoder_table *table,
struct http_header *hdr);
-
+int http_decoder_table_reset_header_iter(struct http_decoder_table *table);
/**
* @brief Is there a parsed header
*