Data Fields

lh_table Struct Reference

Data Fields

int size
int count
struct lh_entry * head
struct lh_entry * tail
struct lh_entry * table
lh_entry_free_fn * free_fn
lh_hash_fn * hash_fn
lh_equal_fn * equal_fn

Detailed Description

The hash table structure. Outside of linkhash.c, treat this as opaque.


Field Documentation

Numbers of entries.

Deprecated:
Use lh_table_length() instead.
Deprecated:
do not use outside of linkhash.c

A pointer to the function responsible for freeing an entry.

Deprecated:
do not use outside of linkhash.c
Deprecated:
do not use outside of linkhash.c

Referenced by lh_get_hash().

The first entry.

Deprecated:
Use lh_table_head() instead.

Referenced by lh_table_head().

Size of our hash.

Deprecated:
do not use outside of linkhash.c

Internal storage of the actual table of entries.

Deprecated:
do not use outside of linkhash.c

The last entry.

Deprecated:
Do not use, may be removed in a future release.

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