From b08c787fe267053afdea82701071f3878c09244b Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Thu, 9 Nov 2023 10:50:59 +0100 Subject: Have a clear distinction between public and private/internal API (#2137) 1) Public API/headers in `src/include/` [as it has always been] 2) Private API/headers in `src/lib/` Try to keep the "ndpi_" prefix only for the public functions --- src/lib/protocols/collectd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/protocols/collectd.c') diff --git a/src/lib/protocols/collectd.c b/src/lib/protocols/collectd.c index 990ff6108..500b9a3f3 100644 --- a/src/lib/protocols/collectd.c +++ b/src/lib/protocols/collectd.c @@ -24,6 +24,7 @@ #define NDPI_CURRENT_PROTO NDPI_PROTOCOL_COLLECTD #include "ndpi_api.h" +#include "ndpi_private.h" #define COLLECTD_MIN_BLOCKS_REQUIRED 3 #define COLLECTD_MAX_BLOCKS_TO_DISSECT 5 -- cgit v1.2.3