Function ndpi_init_serializer¶
- Defined in File ndpi_api.h
Function Documentation¶
-
int
ndpi_init_serializer
(ndpi_serializer *serializer, ndpi_serialization_format fmt)¶ Initialize a serializer handle (allocated by the caller).
- 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)