Function ndpi_init_serializer_ll¶
- Defined in File ndpi_api.h
Function Documentation¶
-
int
ndpi_init_serializer_ll
(ndpi_serializer *serializer, ndpi_serialization_format fmt, u_int32_t buffer_size)¶ Initialize a serializer handle. Same as ndpi_init_serializer, but with some low-level settings.
- Return
- 0 on success, a negative number otherwise
- Parameters
serializer
: The serializer handlefmt
: The serialization format (ndpi_serialization_format_json, ndpi_serialization_format_tlv, ndpi_serialization_format_csv)buffer_size
: The initial internal buffer_size