Function ndpi_serialize_binary_binary
Defined in File ndpi_api.h
Function Documentation
-
int ndpi_serialize_binary_binary(ndpi_serializer *_serializer, const char *key, u_int16_t klen, const char *_value, u_int16_t vlen)
Serialize an unterminated string key and an unterminated string value
- Parameters:
serializer – The serializer handle
key – The field name or ID
klen – The key length
value – The field value
vlen – The value length
- Returns:
0 on success, a negative number otherwise