Function ndpi_serialize_string_int32

Function Documentation

int ndpi_serialize_string_int32(ndpi_serializer *serializer, const char *key, int32_t value)

Serialize a string key and a 32-bit signed int value

Return
0 on success, a negative number otherwise
Parameters
  • serializer: The serializer handle
  • key: The field name or ID
  • value: The field value