Function ndpi_serialize_uint32_boolean¶
- Defined in File ndpi_api.h
Function Documentation¶
-
int
ndpi_serialize_uint32_boolean
(ndpi_serializer *serializer, u_int32_t key, u_int8_t value)¶ Serialize a 32-bit unsigned int key and a boolean value (JSON/CSV only, not supported by TLV)
- Return
- 0 on success, a negative number otherwise
- Parameters
serializer
: The serializer handlekey
: The field name or IDvalue
: The field value