libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Loading...
Searching...
No Matches
Data Fields
htbl_t Struct Reference

#include <htbl.h>

Collaboration diagram for htbl_t:
Collaboration graph
[legend]

Data Fields

size_t tbl_sz
 
size_t key_sz
 
list_tbuckets
 
size_t num_values
 
bool_t multi_value
 

Detailed Description

Hash table structure. This is the object you want to allocate and subsequently initialize using htbl_create(). Use htbl_destroy() to deinitialize a hash table. Use htbl_set(), htbl_remove() and htbl_lookup() to respectively add, remove and look up hash table entries. The hash table supports storing duplicate entries for the same hash value.

See also
htbl_create()
htbl_destroy()
htbl_set()
htbl_remove()
htbl_lookup()

Definition at line 62 of file htbl.h.

Field Documentation

◆ buckets

list_t* buckets

Definition at line 65 of file htbl.h.

◆ key_sz

size_t key_sz

Definition at line 64 of file htbl.h.

◆ multi_value

bool_t multi_value

Definition at line 67 of file htbl.h.

◆ num_values

size_t num_values

Definition at line 66 of file htbl.h.

◆ tbl_sz

size_t tbl_sz

Definition at line 63 of file htbl.h.


The documentation for this struct was generated from the following file: