Function ndpi_serialize_string_raw
Defined in File ndpi_api.h
Function Documentation
-
int ndpi_serialize_string_raw(ndpi_serializer *_serializer, const char *key, const char *_value, u_int16_t vlen)
Serialize a string key and a raw value (this is a string which is added to the JSON without any quote or escaping)
- Parameters:
serializer – The serializer handle
key – The field name or ID
value – The field value
vlen – The value length
- Returns:
0 on success, a negative number otherwise