diff options
| author | lijia <[email protected]> | 2024-04-12 15:01:57 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-04-12 15:01:57 +0800 |
| commit | 9ea86638e1676a6fc8c8892beb3fb6afd431b5cc (patch) | |
| tree | 577f3c13e07dba159f8c77800b8bf9220c380643 /src/http_decoder_table.h | |
| parent | 9403db98e5e0b435ee9da8e049be0ed2d1727cc9 (diff) | |
Remove the dir of http_message_get_xxx API, because msg type already contains this information
Diffstat (limited to 'src/http_decoder_table.h')
| -rw-r--r-- | src/http_decoder_table.h | 5 |
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 * |
