Rizin
unix-like reverse engineering framework and cli tools
ht_pp.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2016-2018 crowell
2
// SPDX-FileCopyrightText: 2016-2018 pancake <pancake@nopcode.org>
3
// SPDX-FileCopyrightText: 2016-2018 ret2libc <sirmy15@gmail.com>
4
// SPDX-License-Identifier: BSD-3-Clause
5
6
#ifndef SDB_HT_PP_H
7
#define SDB_HT_PP_H
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
/*
14
* This header provides an hashtable HtPP that has void* as key and void* as
15
* value. The API functions starts with "ht_pp_" and the types starts with "HtPP".
16
*/
17
#define HT_TYPE 1
18
#include "
ht_inc.h
"
19
20
RZ_API
HtName_
(Ht) *
Ht_
(new0)(void);
21
RZ_API
HtName_
(Ht) *
Ht_
(
new
)(
HT_
(DupValue) valdup,
HT_
(KvFreeFunc) pair_free,
HT_
(CalcSizeV) valueSize);
22
RZ_API
HtName_
(Ht) *
Ht_
(new_size)(
ut32
initial_size,
HT_
(DupValue) valdup,
HT_
(KvFreeFunc) pair_free,
HT_
(CalcSizeV) valueSize);
23
#undef HT_TYPE
24
25
#ifdef __cplusplus
26
}
27
#endif
28
29
#endif
RZ_API
#define RZ_API
Definition:
core_plugin_example.c:36
ut32
uint32_t ut32
Definition:
demangler_util.h:31
ht_inc.h
Ht_
#define Ht_(name)
Definition:
ht_inc.h:44
HtName_
RZ_API HtName_(Ht) *Ht_(new0)(void)
Definition:
ht_pp.c:26
HT_
RZ_API HT_(KvFreeFunc) pair_free
librz
util
sdb
src
ht_pp.h
Generated by
1.9.1