]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
htrie callbacks should take a void * as the tree arg type
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 2 Sep 2024 02:05:45 +0000 (20:05 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 2 Sep 2024 02:05:45 +0000 (20:05 -0600)
src/lib/util/htrie.h

index 06407e295505747b2528e67e686ed46dd7e6e015..f0d3df737d3f196cb1eb6f175f34401d6f7ba9cc 100644 (file)
@@ -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,