aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ndpi_api.h.in')
-rw-r--r--src/include/ndpi_api.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in
index 0ace029d0..243b16ad8 100644
--- a/src/include/ndpi_api.h.in
+++ b/src/include/ndpi_api.h.in
@@ -1081,6 +1081,12 @@ extern "C" {
void ndpi_reset_serializer(ndpi_serializer *serializer);
/**
+ * Hint to not create the header (used to avoid creaign the header when not used)
+ * @param serializer The serializer handle
+ */
+ void ndpi_serializer_skip_header(ndpi_serializer *serializer);
+
+ /**
* Serialize a 32-bit unsigned int key and a 32-bit unsigned int value
* @param serializer The serializer handle
* @param key The field name or ID