From 2ac04dba4d154fbee598a9f3c422f09ffc697065 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Thu, 29 Dec 2016 23:41:09 +0100 Subject: Add enum items number --- src/include/ndpi_typedefs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 8d799a6c1..91140bb06 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -750,7 +750,12 @@ typedef enum { NDPI_PROTOCOL_CATEGORY_COLLABORATIVE, /* Software for collaborative development */ NDPI_PROTOCOL_CATEGORY_RPC, /* High level network communication protocols */ NDPI_PROTOCOL_CATEGORY_NETWORK_TOOL, /* Network administration and monitor protocols */ - NDPI_PROTOCOL_CATEGORY_SYSTEM /* System level applications */ + NDPI_PROTOCOL_CATEGORY_SYSTEM, /* System level applications */ + + NdpiProtocolCategoryN /* Unused as value but useful to + getting the number of elements + in this datastructure + */ } ndpi_protocol_category_t; /* ntop extensions */ -- cgit v1.2.3