#include <linkhash.h>
Public Attributes | |
| int | collisions |
| int | count |
| int | deletes |
| lh_equal_fn * | equal_fn |
| lh_entry_free_fn * | free_fn |
| lh_hash_fn * | hash_fn |
| struct lh_entry * | head |
| int | inserts |
| int | lookups |
| char * | name |
| int | resizes |
| int | size |
| struct lh_entry * | table |
| struct lh_entry * | tail |
The hash table structure.
Definition at line 71 of file linkhash.h.
Number of collisions.
Definition at line 84 of file linkhash.h.
| int lh_table::count |
Numbers of entries.
Definition at line 79 of file linkhash.h.
Number of deletes.
Definition at line 104 of file linkhash.h.
Definition at line 128 of file linkhash.h.
A pointer onto the function responsible for freeing an entry.
Definition at line 126 of file linkhash.h.
Definition at line 127 of file linkhash.h.
| struct lh_entry* lh_table::head |
The first entry.
Definition at line 114 of file linkhash.h.
Number of inserts.
Definition at line 99 of file linkhash.h.
Number of lookups.
Definition at line 94 of file linkhash.h.
| char* lh_table::name |
Name of the hash table.
Definition at line 109 of file linkhash.h.
Number of resizes.
Definition at line 89 of file linkhash.h.
| int lh_table::size |
Size of our hash.
Definition at line 75 of file linkhash.h.
| struct lh_entry* lh_table::table |
Definition at line 121 of file linkhash.h.
| struct lh_entry* lh_table::tail |
The last entry.
Definition at line 119 of file linkhash.h.