aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-05-21 10:46:38 +0200
committerToni Uhlig <matzeton@googlemail.com>2024-05-21 11:54:06 +0200
commit48d93024dc3b672659c6915f6bdc0b4840a1aa4f (patch)
tree4731b6106d8c11c57ae6c80d949281c35f56bcfb /src/include
parentbc8bc69beb7c6ee26c97e9a57aff4124f064d9ac (diff)
Remove unused code.remove/unused-code
* some `#ifdef`ed code dates back to 2019, 2020 and 2021 * some function signatures were still present in `ndpi_main.h` which may cause linker errors for libnDPI dependee's * return an error while trying to serialize a double instead of `fprintf(stderr, ...)` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_main.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/ndpi_main.h b/src/include/ndpi_main.h
index a95bf03c2..856c1227d 100644
--- a/src/include/ndpi_main.h
+++ b/src/include/ndpi_main.h
@@ -47,11 +47,6 @@ extern "C" {
void ndpi_tdestroy(void *vrootp, void (*freefct)(void *));
int NDPI_BITMASK_COMPARE(NDPI_PROTOCOL_BITMASK a, NDPI_PROTOCOL_BITMASK b);
- int NDPI_BITMASK_IS_EMPTY(NDPI_PROTOCOL_BITMASK a);
- void NDPI_DUMP_BITMASK(NDPI_PROTOCOL_BITMASK a);
-
-
-
u_int16_t ntohs_ndpi_bytestream_to_number(const u_int8_t * str,
u_int16_t max_chars_to_read,
@@ -61,9 +56,6 @@ extern "C" {
u_int16_t * bytes_read);
u_int64_t ndpi_bytestream_to_number64(const u_int8_t * str, u_int16_t max_chars_to_read,
u_int16_t * bytes_read);
- u_int32_t ndpi_bytestream_dec_or_hex_to_number(const u_int8_t * str,
- u_int16_t max_chars_to_read,
- u_int16_t * bytes_read);
u_int64_t ndpi_bytestream_dec_or_hex_to_number64(const u_int8_t * str,
u_int16_t max_chars_to_read,
u_int16_t * bytes_read);