Function ndpi_serialize_string_float¶
- Defined in File ndpi_api.h
Function Documentation¶
-
int
ndpi_serialize_string_float
(ndpi_serializer *serializer, const char *key, float value, const char *format)¶ Serialize a string key and a a float value
- Return
- 0 on success, a negative number otherwise
- Parameters
serializer
: The serializer handlekey
: The field name or IDvalue
: The field valueformat
: The float format