aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichele Campus <fci1908@gmail.com>2016-12-30 09:51:20 +0100
committerGitHub <noreply@github.com>2016-12-30 09:51:20 +0100
commit721af38aedd219b159d7a7619c50f3d64fbeef85 (patch)
tree7cfb9d77042f4cb9228f657459f8686807e28bbe /src
parente7fbcc690b323add6d707c581276dd67f88b1236 (diff)
parent2ac04dba4d154fbee598a9f3c422f09ffc697065 (diff)
Merge pull request #322 from emanuele-f/dev
Add enum items number
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_typedefs.h7
1 files changed, 6 insertions, 1 deletions
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 */