File indexing completed on 2025-04-01 08:52:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 typedef struct _HashArray {
0012 char *name;
0013 void *value;
0014 int tag;
0015 } HashArray;
0016
0017 typedef struct _HashEntry {
0018 struct _HashEntry *next;
0019 char *name;
0020 void *value;
0021 int tag;
0022 } HashEntry;
0023
0024 typedef struct {
0025 int size;
0026 HashEntry **entries;
0027 int nentries;
0028 int is_string;
0029 int tag_only;
0030 int case_convert;
0031 int (*strcmp)();
0032 int (*hash_cmp)();
0033 } HashTable;
0034
0035 extern HashArray* hash_array( HashTable* );
0036 extern void hash_clear( HashTable* );
0037 extern void hash_config( HashTable*, const char* );
0038 extern HashTable* hash_create( int );
0039 extern void hash_destroy( HashTable* );
0040 extern int hash_entries( HashTable* );
0041 extern void hash_insert( HashTable*, const char*, const void*, int );
0042 extern void* hash_lookup( HashTable*, const char*, int* );
0043 extern void* hash_remove( HashTable*, const char* );
0044
0045