diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 4beb47e9e..f67844103 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1,7 +1,7 @@ /* * ndpi_main.c * - * Copyright (C) 2011-22 - ntop.org + * Copyright (C) 2011-23 - ntop.org * * This file is part of nDPI, an open source deep packet inspection * library based on the OpenDPI and PACE technology by ipoque GmbH diff --git a/src/lib/ndpi_memory.c b/src/lib/ndpi_memory.c index 111fd1ff4..325806ddc 100644 --- a/src/lib/ndpi_memory.c +++ b/src/lib/ndpi_memory.c @@ -1,9 +1,34 @@ -#include +/* + * ndpi_memory.c + * + * Copyright (C) 2011-23 - ntop.org + * + * This file is part of nDPI, an open source deep packet inspection + * library based on the OpenDPI and PACE technology by ipoque GmbH + * + * nDPI is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * nDPI is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with nDPI. If not, see . + * + */ + #include -#include -#ifdef WIN32 -#include "ndpi_win32.h" /* For __sync_fetch_and_add */ -#endif +#include +#include + +#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_UNKNOWN + +#include "ndpi_config.h" +#include "ndpi_api.h" /* ****************************************** */