For peer review.
authorDave West <davew@uncensored.citadel.org>
Thu, 3 Dec 2009 20:00:03 +0000 (20:00 +0000)
committerDave West <davew@uncensored.citadel.org>
Thu, 3 Dec 2009 20:00:03 +0000 (20:00 +0000)
commit6317f6941770e6b9b21d5fb1e0053cb1d3fb1a46
tree4d8bb1b8e7b484e87907c8fb29dba7dc4bc0b136
parentccfb7535046dcdcf19c1f1092a936131e9913fec
For peer review.
Added two new hash manipulation functions.
int SetHashPosFromKey(HashList *Hash, const char *HKey, long HKLen, HashPos *At);
int DeleteEntryFromHash(HashList *Hash, HashPos *At);

First one searches for the Key and updates the HashPos to point at it.
Second one deletes an entry from the hash, entry is pointed to by HashPos
libcitadel/lib/hash.c
libcitadel/lib/libcitadel.h