rename *.cpp to *.c; renmae API. move benchmarks/* to test/decoder/http; fix TSG-22347
This commit is contained in:
@@ -36,22 +36,22 @@ void http_decoder_table_reinit(struct http_decoder_table *table);
|
||||
|
||||
void http_decoder_table_dump(struct http_decoder_table *table);
|
||||
|
||||
int http_decoder_table_get_uri(const struct http_decoder_table *table, hstring *out);
|
||||
int http_decoder_table_get_uri(const struct http_decoder_table *table, char **out, size_t *out_len);
|
||||
|
||||
int http_decoder_table_get_method(const struct http_decoder_table *table, hstring *out);
|
||||
int http_decoder_table_get_method(const struct http_decoder_table *table, char **out, size_t *out_len);
|
||||
|
||||
int http_decoder_table_get_status(const struct http_decoder_table *table, hstring *out);
|
||||
int http_decoder_table_get_status(const struct http_decoder_table *table, char **out, size_t *out_len);
|
||||
|
||||
int http_decoder_table_get_version(const struct http_decoder_table *table, hstring *out);
|
||||
int http_decoder_table_get_version(const struct http_decoder_table *table, char **out, size_t *out_len);
|
||||
|
||||
int http_decoder_table_get_body(const struct http_decoder_table *table, hstring *out);
|
||||
int http_decoder_table_get_body(const struct http_decoder_table *table, char **out, size_t *out_len);
|
||||
|
||||
int http_decoder_table_get_header(const struct http_decoder_table *table,
|
||||
const hstring *key,
|
||||
struct http_header *hdr_res);
|
||||
const char *name, size_t name_len,
|
||||
struct http_header_field *hdr_res);
|
||||
|
||||
int http_decoder_table_iter_header(struct http_decoder_table *table,
|
||||
struct http_header *hdr);
|
||||
struct http_header_field *hdr);
|
||||
int http_decoder_table_reset_header_iter(struct http_decoder_table *table);
|
||||
/**
|
||||
* @brief Is there a parsed header
|
||||
|
||||
Reference in New Issue
Block a user