aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h.in
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-08-17 16:25:10 +0200
committerLuca Deri <deri@ntop.org>2022-08-17 16:25:10 +0200
commita53f4765858285f520b8a2645da80aed2b1487b1 (patch)
treef86a674351755e578c1955cb5a5bf4f9c0699490 /src/include/ndpi_api.h.in
parent82c83ef75e3a6a88dcfb9a9ad1bc1b888d893751 (diff)
Modified definition of hll_add
Diffstat (limited to 'src/include/ndpi_api.h.in')
-rw-r--r--src/include/ndpi_api.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in
index 9064ac627..2e8690203 100644
--- a/src/include/ndpi_api.h.in
+++ b/src/include/ndpi_api.h.in
@@ -1692,8 +1692,8 @@ extern "C" {
void ndpi_hll_reset(struct ndpi_hll *hll);
/* Add values */
- void ndpi_hll_add(struct ndpi_hll *hll, const char *data, size_t data_len);
- void ndpi_hll_add_number(struct ndpi_hll *hll, u_int32_t value) ;
+ int ndpi_hll_add(struct ndpi_hll *hll, const char *data, size_t data_len);
+ int ndpi_hll_add_number(struct ndpi_hll *hll, u_int32_t value) ;
/* Get cardinality estimation */
double ndpi_hll_count(struct ndpi_hll *hll);