Volksdata 1.0b7
RDF library
Loading...
Searching...
No Matches
store_htable.c File Reference
Include dependency graph for store_htable.c:

Go to the source code of this file.

Data Structures

struct  IndexEntry
struct  HTStore
struct  HTIterator

Typedefs

typedef bool(* VOLK_key_eq_fn_t) (const VOLK_Key spok[], const VOLK_Key luk[])

Functions

uint64_t trp_key_hash_fn (const void *item, uint64_t seed0, uint64_t seed1)
int trp_key_cmp_fn (const void *a, const void *b, void *udata)

Variables

const VOLK_StoreInt htstore_int

Typedef Documentation

◆ VOLK_key_eq_fn_t

typedef bool(* VOLK_key_eq_fn_t) (const VOLK_Key spok[], const VOLK_Key luk[])

Callback type for key comparison.

Definition at line 7 of file store_htable.c.

Function Documentation

◆ trp_key_hash_fn()

uint64_t trp_key_hash_fn ( const void * item,
uint64_t seed0,
uint64_t seed1 )

Definition at line 97 of file store_htable.c.

◆ trp_key_cmp_fn()

int trp_key_cmp_fn ( const void * a,
const void * b,
void * udata )

Definition at line 106 of file store_htable.c.

Variable Documentation

◆ htstore_int

const VOLK_StoreInt htstore_int
Initial value:
= {
.name = "Hashtable Store",
.setup_fn = NULL,
.new_fn = htstore_new,
.free_fn = htstore_free,
.size_fn = htstore_size,
.add_init_fn = htstore_add_init,
.add_iter_fn = htstore_add_iter,
.add_done_fn = htstore_add_done,
.add_term_fn = htstore_add_term,
.lookup_fn = htstore_lookup,
.lu_next_fn = htiter_next,
.lu_free_fn = free,
.remove_fn = htstore_remove,
}
@ VOLK_STORE_EMBED
@ VOLK_STORE_COW
Copy on write.

Definition at line 454 of file store_htable.c.