TrinityCore
|
Classes | |
struct | _LISTFILE_CACHE |
Macros | |
#define | __CASCLIB_SELF__ |
#define | LISTMAP_INITIAL 0x100000 |
Typedefs | |
typedef struct _LISTFILE_CACHE | LISTFILE_CACHE |
typedef struct _LISTFILE_CACHE * | PLISTFILE_CACHE |
Functions | |
static PLISTFILE_CACHE | CreateListFileCache (DWORD dwFileSize) |
void * | ListFile_OpenExternal (const TCHAR *szListFile) |
void * | ListFile_FromBuffer (LPBYTE pbBuffer, DWORD cbBuffer) |
bool | ListFile_VerifyMD5 (void *pvListFile, LPBYTE pbHashMD5) |
size_t | ListFile_GetNextLine (void *pvListFile, const char **pszLineBegin, const char **pszLineEnd) |
size_t | ListFile_GetNextLine (void *pvListFile, char *szBuffer, size_t nMaxChars) |
size_t | ListFile_GetNext (void *pvListFile, const char *szMask, char *szBuffer, size_t nMaxChars) |
void | ListFile_Free (void *pvListFile) |
static PLISTFILE_MAP | ListMap_Create () |
static PLISTFILE_MAP | ListMap_InsertName (PLISTFILE_MAP pListMap, const char *szFileName, size_t nLength) |
static PLISTFILE_MAP | ListMap_Finish (PLISTFILE_MAP pListMap) |
PLISTFILE_MAP | ListFile_CreateMap (const TCHAR *szListFile) |
const char * | ListFile_FindName (PLISTFILE_MAP pListMap, ULONGLONG FileNameHash) |
void | ListFile_FreeMap (PLISTFILE_MAP pListMap) |
#define __CASCLIB_SELF__ |
#define LISTMAP_INITIAL 0x100000 |
typedef struct _LISTFILE_CACHE LISTFILE_CACHE |
typedef struct _LISTFILE_CACHE * PLISTFILE_CACHE |
|
static |
PLISTFILE_MAP ListFile_CreateMap | ( | const TCHAR * | szListFile | ) |
const char* ListFile_FindName | ( | PLISTFILE_MAP | pListMap, |
ULONGLONG | FileNameHash | ||
) |
void ListFile_Free | ( | void * | pvListFile | ) |
void ListFile_FreeMap | ( | PLISTFILE_MAP | pListMap | ) |
size_t ListFile_GetNext | ( | void * | pvListFile, |
const char * | szMask, | ||
char * | szBuffer, | ||
size_t | nMaxChars | ||
) |
size_t ListFile_GetNextLine | ( | void * | pvListFile, |
const char ** | pszLineBegin, | ||
const char ** | pszLineEnd | ||
) |
size_t ListFile_GetNextLine | ( | void * | pvListFile, |
char * | szBuffer, | ||
size_t | nMaxChars | ||
) |
|
static |
|
static |
|
static |