diff options
author | Luca Deri <deri@ntop.org> | 2021-09-26 22:55:15 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-09-26 22:55:15 +0200 |
commit | 1efabef4cfce64a373f014ee43bab371a82f7e87 (patch) | |
tree | 5bf0f85b7ff9c0d0f652192e3f5fba9391925f9b /configure.seed | |
parent | c40cf4e0ec295dc707e71f1e3adbf0481035af06 (diff) |
Added API for handling compressed bitmaps
ndpi_bitmap* ndpi_bitmap_alloc();
void ndpi_bitmap_free(ndpi_bitmap* b);
u_int64_t ndpi_bitmap_cardinality(ndpi_bitmap* b);
void ndpi_bitmap_set(ndpi_bitmap* b, u_int32_t value);
void ndpi_bitmap_unset(ndpi_bitmap* b, u_int32_t value);
bool ndpi_bitmap_isset(ndpi_bitmap* b, u_int32_t value);
void ndpi_bitmap_clear(ndpi_bitmap* b);
size_t ndpi_bitmap_serialize(ndpi_bitmap* b, char **buf);
ndpi_bitmap* ndpi_bitmap_deserialize(char *buf);
based on https://github.com/RoaringBitmap/CRoaring
Diffstat (limited to 'configure.seed')
-rw-r--r-- | configure.seed | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.seed b/configure.seed index 3eb0736ac..86464d706 100644 --- a/configure.seed +++ b/configure.seed @@ -102,7 +102,7 @@ if ! test "${with_only_libndpi+set}" = set; then : fi LIBS="$LIBS $JSONC_LIBS" -CFLAGS="-W -Wall -Wno-unused-parameter $CFLAGS $JSONC_CFLAGS" +CFLAGS="-W -Wall -Wno-unused-parameter -Wno-unused-function $CFLAGS $JSONC_CFLAGS" AC_CHECK_HEADERS([netinet/in.h stdint.h stdlib.h string.h unistd.h math.h float.h]) AC_CHECK_LIB([m], [sqrt], [], [LIBM="-lm"]) |