summaryrefslogtreecommitdiff
path: root/src/http_decoder_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/http_decoder_table.cpp')
-rw-r--r--src/http_decoder_table.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http_decoder_table.cpp b/src/http_decoder_table.cpp
index b11e1b9..d1fc6e9 100644
--- a/src/http_decoder_table.cpp
+++ b/src/http_decoder_table.cpp
@@ -526,4 +526,9 @@ void http_decoder_table_reset_header_complete(struct http_decoder_table *table)
void http_decoder_table_update_commit_index(struct http_decoder_table *table)
{
table->commit_header_index = table->header_index;
+}
+
+int http_decoder_table_get_total_parsed_header(struct http_decoder_table *table)
+{
+ return table->header_index;
} \ No newline at end of file