aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_includes.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-09-26 22:55:15 +0200
committerLuca Deri <deri@ntop.org>2021-09-26 22:55:15 +0200
commit1efabef4cfce64a373f014ee43bab371a82f7e87 (patch)
tree5bf0f85b7ff9c0d0f652192e3f5fba9391925f9b /src/include/ndpi_includes.h
parentc40cf4e0ec295dc707e71f1e3adbf0481035af06 (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 'src/include/ndpi_includes.h')
0 files changed, 0 insertions, 0 deletions