Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Added printf/fprintf replacement for some internal modules. (#1974) | Toni | 2023-09-26 |
| | | | | | | * logging is instead redirected to `ndpi_debug_printf` Signed-off-by: lns <matzeton@googlemail.com> Signed-off-by: Toni Uhlig <matzeton@googlemail.com> | ||
* | Update roaring bitmap code | Luca Deri | 2023-02-12 |
| | |||
* | Reworked bitmap code | Luca Deri | 2021-09-27 |
| | |||
* | Added API for handling compressed bitmaps | Luca Deri | 2021-09-26 |
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 |