Serialization fix
This commit is contained in:
@@ -1327,7 +1327,17 @@ typedef enum {
|
||||
#define NDPI_SERIALIZER_STATUS_ARRAY (1 << 1)
|
||||
#define NDPI_SERIALIZER_STATUS_EOR (1 << 2)
|
||||
|
||||
typedef void* ndpi_serializer;
|
||||
typedef struct {
|
||||
u_int32_t buffer_size, size_used;
|
||||
ndpi_serialization_format fmt;
|
||||
u_int32_t status;
|
||||
u_int8_t *buffer;
|
||||
char csv_separator[2];
|
||||
} ndpi_private_serializer;
|
||||
|
||||
#define ndpi_private_deserializer ndpi_private_serializer
|
||||
|
||||
typedef struct { char c[sizeof(ndpi_private_serializer)]; } ndpi_serializer;
|
||||
|
||||
#define ndpi_deserializer ndpi_serializer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user