NDPI_API_VERSION is now computed automatically

This commit is contained in:
Luca Deri
2020-03-25 12:51:06 +01:00
parent c8a1767465
commit 47a4507d9e
2 changed files with 10 additions and 2 deletions
@@ -34,7 +34,7 @@ extern "C" {
/* The #define below is used for apps that dynamically link with nDPI to make
sure that datastructures and in sync across versions
*/
#define NDPI_API_VERSION 1
#define NDPI_API_VERSION @NDPI_API_VERSION@
#define SIZEOF_ID_STRUCT ( sizeof(struct ndpi_id_struct) )
#define SIZEOF_FLOW_STRUCT ( sizeof(struct ndpi_flow_struct) )