diff options
| author | 李佳 <[email protected]> | 2024-04-12 07:08:27 +0000 |
|---|---|---|
| committer | 李佳 <[email protected]> | 2024-04-12 07:08:27 +0000 |
| commit | 55ac6e270ae37299e2bce3a47a3d784e29dcae14 (patch) | |
| tree | 577f3c13e07dba159f8c77800b8bf9220c380643 /src/http_decoder_half.h | |
| parent | 9403db98e5e0b435ee9da8e049be0ed2d1727cc9 (diff) | |
| parent | 9ea86638e1676a6fc8c8892beb3fb6afd431b5cc (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_half.h')
| -rw-r--r-- | src/http_decoder_half.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/http_decoder_half.h b/src/http_decoder_half.h index ebe7e00..a2ff5f8 100644 --- a/src/http_decoder_half.h +++ b/src/http_decoder_half.h @@ -87,12 +87,11 @@ int http_decoder_half_data_get_response_line(struct http_decoder_half_data *data struct http_response_line *line); int http_decoder_half_data_get_header(struct http_decoder_half_data *data, - struct hstring *key, struct http_header *hdr_array, - size_t array_size); + struct hstring *key, struct http_header *hdr_res); int http_decoder_half_data_iter_header(struct http_decoder_half_data *data, struct http_header *header); - +int http_decoder_half_data_reset_header_iter(struct http_decoder_half_data *req_data); int http_decoder_half_data_has_parsed_header(struct http_decoder_half_data *data); int http_decoder_half_data_get_raw_body(struct http_decoder_half_data *data, |
