X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=libcitadel%2Flib%2Flibcitadel.h;fp=libcitadel%2Flib%2Flibcitadel.h;h=02b9c9a4755352b5e3fdedec9daac474e41fdc99;hp=ce9baf9dd1ef7da4bbb914427dcf40448f614711;hb=101a56a24149e797b4f8ae555f9aa004cb5f446d;hpb=1dcea0c8dff75cab9b7fbad51dae4cb300c6dc52 diff --git a/libcitadel/lib/libcitadel.h b/libcitadel/lib/libcitadel.h index ce9baf9dd..02b9c9a47 100644 --- a/libcitadel/lib/libcitadel.h +++ b/libcitadel/lib/libcitadel.h @@ -48,7 +48,7 @@ typedef enum AXLevel { AxAideU = 6 }eUsrAxlvl; -enum RoomNetCfg { +typedef enum __RoomNetCfg { subpending, unsubpending, lastsent, /* Server internal use only */ @@ -60,7 +60,7 @@ enum RoomNetCfg { participate, roommailalias, maxRoomNetCfg -}; +} RoomNetCfg; enum GNET_POP3_PARTS { /* pop3client splits into these columns: */ GNET_POP3_HOST = 1, @@ -514,6 +514,7 @@ 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(const HashList *Hash, int StepWidth); +void RewindHashPos(const HashList *Hash, HashPos *it, int StepWidth); int GetHashPosFromKey(HashList *Hash, const char *HKey, long HKLen, HashPos *At); int DeleteEntryFromHash(HashList *Hash, HashPos *At); int GetHashPosCounter(HashList *Hash, HashPos *At);