Add enum items number

This commit is contained in:
emanuele-f
2016-12-29 23:41:09 +01:00
parent e7fbcc690b
commit 2ac04dba4d
+6 -1
View File
@@ -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 */