]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
Hashlist: add function to flush the contents of a hashlist.
[citadel.git] / libcitadel / lib / libcitadel.h
index f0c8ab735d7ec2074d3b50f966e40b7f934f1825..d74b9f12d8449cebb8f3991e1d2e9b936de6975f 100644 (file)
@@ -454,6 +454,7 @@ long lFlathash(const char *str, long len);
 
 HashList *NewHash(int Uniq, HashFunc F);
 void DeleteHash(HashList **Hash);
+void DeleteHashContent(HashList **Hash);
 void HDeleteHash(void *vHash);
 int GetHash(HashList *Hash, const char *HKey, long HKLen, void **Data);
 void Put(HashList *Hash, const char *HKey, long HKLen, void *Data, DeleteHashDataFunc DeleteIt);