Tinyhash
This is a library containing multiple C implementations of hashmap.
Loading...
Searching...
No Matches
src
open_addressing
entry.h
Go to the documentation of this file.
1
#ifndef __TINYHASH_OA_ENTRY_H__
2
#define __TINYHASH_OA_ENTRY_H__
3
4
#include <stdbool.h>
5
#include <stdint.h>
6
#include <stdlib.h>
7
8
#include "
../common/hash.h
"
9
#include "
../common/key.h
"
10
15
typedef
struct
th_oa_entry_s
{
16
th_key_t
*
key
;
17
th_any_t
value
;
18
bool
is_tombstone
;
19
}
th_oa_entry_t
;
20
21
#endif
hash.h
key.h
th_oa_entry_t
struct th_oa_entry_s th_oa_entry_t
Represent an entry within a bucket.
th_key_t
Represent an entry key.
Definition
key.h:14
th_oa_entry_s
Represent an entry within a bucket.
Definition
entry.h:15
th_oa_entry_s::key
th_key_t * key
Definition
entry.h:16
th_oa_entry_s::is_tombstone
bool is_tombstone
Definition
entry.h:18
th_oa_entry_s::value
th_any_t value
Definition
entry.h:17
th_any_t
void * th_any_t
Represent any type of data.
Definition
types.h:8
Generated by
1.10.0