comparison src/hash.h @ 241:f955c73f5258 r20-5b19

Import from CVS: tag r20-5b19
author cvs
date Mon, 13 Aug 2007 10:16:16 +0200
parents 8eaf7971accc
children c5d627a313b1
comparison
equal deleted inserted replaced
240:835e739f3c17 241:f955c73f5258
68 void puthash (CONST void *key, void *contents, c_hashtable hash); 68 void puthash (CONST void *key, void *contents, c_hashtable hash);
69 69
70 /* delete the entry which key is key */ 70 /* delete the entry which key is key */
71 void remhash (CONST void *key, c_hashtable hash); 71 void remhash (CONST void *key, c_hashtable hash);
72 72
73 typedef void (*maphash_function) (CONST void* key, void* contents, void* arg); 73 typedef int (*maphash_function) (CONST void* key, void* contents, void* arg);
74 74
75 typedef int (*remhash_predicate) (CONST void* key, CONST void* contents, 75 typedef int (*remhash_predicate) (CONST void* key, CONST void* contents,
76 void* arg); 76 void* arg);
77 77
78 typedef void (*generic_hashtable_op) (c_hashtable table, 78 typedef void (*generic_hashtable_op) (c_hashtable table,