myMPD
Internal API documentation
Loading...
Searching...
No Matches
rax_extras.h
Go to the documentation of this file.
1
/*
2
SPDX-License-Identifier: GPL-3.0-or-later
3
myMPD (c) 2018-2025 Juergen Mang <mail@jcgames.de>
4
https://github.com/jcorporation/mympd
5
*/
6
11
#ifndef MYMPD_RAX_EXTRAS_H
12
#define MYMPD_RAX_EXTRAS_H
13
14
#include "dist/rax/rax.h"
15
#include "dist/sds/sds.h"
16
20
typedef
void (*
rax_free_data_callback
) (
void
*data);
21
22
void
rax_insert_no_dup
(rax *r, sds key,
void
*data);
23
void
rax_free_data
(rax *r,
rax_free_data_callback
free_cb);
24
void
rax_free_sds_data
(rax *r);
25
26
#endif
rax_free_data
void rax_free_data(rax *r, rax_free_data_callback free_cb)
Definition
rax_extras.c:41
rax_free_sds_data
void rax_free_sds_data(rax *r)
Definition
rax_extras.c:69
rax_insert_no_dup
void rax_insert_no_dup(rax *r, sds key, void *data)
Definition
rax_extras.c:26
rax_free_data_callback
void(* rax_free_data_callback)(void *data)
Definition
rax_extras.h:20
src
lib
rax_extras.h
Generated by
1.9.8