From: Arran Cudbard-Bell Date: Mon, 2 Sep 2024 02:05:45 +0000 (-0600) Subject: htrie callbacks should take a void * as the tree arg type X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cadc7aafb51a6dd678659b3b5bbcdeb880be5f11;p=thirdparty%2Ffreeradius-server.git htrie callbacks should take a void * as the tree arg type --- diff --git a/src/lib/util/htrie.h b/src/lib/util/htrie.h index 06407e2955..f0d3df737d 100644 --- a/src/lib/util/htrie.h +++ b/src/lib/util/htrie.h @@ -34,17 +34,17 @@ extern "C" { typedef struct fr_htrie_s fr_htrie_t; -typedef void *(*fr_htrie_find_t)(fr_htrie_t *ht, void const *data); +typedef void *(*fr_htrie_find_t)(void *ht, void const *data); -typedef bool (*fr_htrie_insert_t)(fr_htrie_t *ht, void const *data); +typedef bool (*fr_htrie_insert_t)(void *ht, void const *data); -typedef int (*fr_htrie_replace_t)(void **old, fr_htrie_t *ht, void const *data); +typedef int (*fr_htrie_replace_t)(void **old, void *ht, void const *data); -typedef void *(*fr_htrie_remove_t)(fr_htrie_t *ht, void const *data); +typedef void *(*fr_htrie_remove_t)(void *ht, void const *data); -typedef bool (*fr_htrie_delete_t)(fr_htrie_t *ht, void const *data); +typedef bool (*fr_htrie_delete_t)(void *ht, void const *data); -typedef uint32_t (*fr_htrie_num_elements_t)(fr_htrie_t *ht); +typedef uint32_t (*fr_htrie_num_elements_t)(void *ht); typedef enum { FR_HTRIE_INVALID = 0,