diff options
Diffstat (limited to 'src/http_decoder_half.h')
| -rw-r--r-- | src/http_decoder_half.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/http_decoder_half.h b/src/http_decoder_half.h index 9ea5169..ba79bc6 100644 --- a/src/http_decoder_half.h +++ b/src/http_decoder_half.h @@ -79,7 +79,8 @@ int http_decoder_half_data_has_parsed_header(struct http_decoder_half_data *data int http_decoder_half_data_get_raw_body(const struct http_decoder_half_data *data, hstring *body); int http_decoder_half_data_get_decompress_body(const struct http_decoder_half_data *data, hstring *body); - +void http_half_get_lastest_decompress_buffer(struct http_decoder_half_data *data, hstring *decompress_body); +void http_half_decompress_buffer_free(struct http_decoder_half_data *data, hstring *decompress_body); void http_decoder_half_data_dump(struct http_decoder_half *half); void http_decoder_get_host_feed_url(struct http_decoder_half *half); @@ -98,5 +99,7 @@ void http_half_data_update_commit_index(struct http_decoder_half_data * half_dat void http_half_pre_context_free(struct session *sess, struct http_decoder_exdata *exdata); void http_half_update_state(struct http_decoder_half_data *hf_data, enum http_event state); int http_half_data_get_total_parsed_header_count(struct http_decoder_half_data * half_data); -void http_half_get_max_transaction_seq(struct http_decoder_exdata *exdata, long long *max_req_seq, long long *max_res_seq); +void http_half_get_max_transaction_seq(struct http_decoder_exdata *exdata, long long *max_req_seq, long long *max_res_seq); + +enum http_content_encoding http_half_data_get_content_encoding(struct http_decoder_half_data *hf_data); #endif
\ No newline at end of file |
