#include "hash.c"
Go to the source code of this file.
Compounds | |
struct | hash_t |
Defines | |
#define | HASH_FAIL -1 |
#define | VMDEXTERNSTATIC |
Typedefs | |
typedef hash_t | hash_t |
Functions | |
void | hash_init (hash_t *, int) |
int | hash_lookup (const hash_t *, const char *) |
int | hash_insert (hash_t *, const char *, int) |
int | hash_delete (hash_t *, const char *) |
int | hash_entries (hash_t *) |
void | hash_destroy (hash_t *) |
char * | hash_stats (hash_t *) |
|
|
|
|
|
hash table top level data structure |
|
delete an string from the hash table, given its string name |
|
destroy the hash table completely, deallocate memory Definition at line 234 of file hash.c. Referenced by read_mdf_bonds, write_js_structure, write_lammps_structure, and write_lammpsyaml_structure. |
|
return the number of entries in the has table Definition at line 223 of file hash.c. Referenced by write_js_structure. |
|
initialize hash table for first use Definition at line 63 of file hash.c. Referenced by read_mdf_bonds, rebuild_table, write_js_structure, write_lammps_structure, and write_lammpsyaml_structure. |
|
insert a string into the hash table, along with an integer key Definition at line 151 of file hash.c. Referenced by read_mdf_bonds, write_js_structure, write_lammps_structure, and write_lammpsyaml_structure. |
|
lookup a string key in the hash table returning its integer key Definition at line 127 of file hash.c. Referenced by hash_insert, read_mdf_bonds, write_js_structure, write_lammps_structure, and write_lammpsyaml_structure. |
|
print hash table vital stats |