]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
* Allow hashiterator to do bigger steps than 1 and to go reverse
[citadel.git] / libcitadel / lib / libcitadel.h
index 28358c89a4cdd80596c69ca62dd988a2c9824d5d..cff82af47d738c3d2a60061781a1f4369f3de898 100644 (file)
@@ -402,7 +402,8 @@ int GetKey(HashList *Hash, char *HKey, long HKLen, void **Data);
 int GetHashKeys(HashList *Hash, char ***List);
 int dbg_PrintHash(HashList *Hash, PrintHashContent first, PrintHashContent Second);
 int PrintHash(HashList *Hash, TransitionFunc Trans, PrintHashDataFunc PrintEntry);
-HashPos *GetNewHashPos(void);
+HashPos *GetNewHashPos(HashList *Hash, int StepWidth);
+int GetHashPosCounter(HashPos *At);
 void DeleteHashPos(HashPos **DelMe);
 int GetNextHashPos(HashList *Hash, HashPos *At, long *HKLen, const char **HashKey, void **Data);
 void SortByHashKey(HashList *Hash, int Order);