TrinityCore
|
Macros | |
#define | __CASCLIB_SELF__ |
#define | STKSIZ (8*sizeof(void*) - 2) |
#define | SWAP_ENTRIES(index1, index2) |
Functions | |
int | GetLastError () |
void | SetLastError (int nError) |
void | CopyString (char *szTarget, const char *szSource, size_t cchLength) |
void | CopyString (wchar_t *szTarget, const char *szSource, size_t cchLength) |
void | CopyString (char *szTarget, const wchar_t *szSource, size_t cchLength) |
char * | CascNewStr (const char *szString, size_t nCharsToReserve) |
wchar_t * | CascNewStr (const wchar_t *szString, size_t nCharsToReserve) |
TCHAR * | CascNewStrFromAnsi (const char *szBegin, const char *szEnd) |
TCHAR * | CombinePath (const TCHAR *szDirectory, const TCHAR *szSubDir) |
TCHAR * | CombinePathAndString (const TCHAR *szPath, const char *szString, size_t nLength) |
size_t | NormalizeFileName (const unsigned char *NormTable, char *szNormName, const char *szFileName, size_t cchMaxChars) |
size_t | NormalizeFileName_UpperBkSlash (char *szNormName, const char *szFileName, size_t cchMaxChars) |
size_t | NormalizeFileName_LowerSlash (char *szNormName, const char *szFileName, size_t cchMaxChars) |
ULONGLONG | CalcFileNameHash (const char *szFileName) |
int | ConvertDigitToInt32 (const TCHAR *szString, PDWORD PtrValue) |
int | ConvertStringToInt08 (const char *szString, PDWORD PtrValue) |
int | ConvertStringToInt32 (const TCHAR *szString, size_t nMaxDigits, PDWORD PtrValue) |
int | ConvertStringToBinary (const char *szString, size_t nMaxDigits, LPBYTE pbBinary) |
char * | StringFromBinary (LPBYTE pbBinary, size_t cbBinary, char *szBuffer) |
char * | StringFromMD5 (LPBYTE md5, char *szBuffer) |
const wchar_t * | GetPlainFileName (const wchar_t *szFileName) |
const char * | GetPlainFileName (const char *szFileName) |
bool | CheckWildCard (const char *szString, const char *szWildCard) |
bool | IsValidMD5 (LPBYTE pbMd5) |
bool | VerifyDataBlockHash (void *pvDataBlock, DWORD cbDataBlock, LPBYTE expected_md5) |
void | CalculateDataBlockHash (void *pvDataBlock, DWORD cbDataBlock, LPBYTE md5_hash) |
void | qsort_pointer_array (void **base, size_t num, int(*compare)(const void *, const void *, const void *), const void *context) |
Variables | |
unsigned char | AsciiToLowerTable_Slash [256] |
unsigned char | AsciiToUpperTable_BkSlash [256] |
unsigned char | IntToHexChar [] = "0123456789abcdef" |
static int | nLastError = ERROR_SUCCESS |
#define __CASCLIB_SELF__ |
#define STKSIZ (8*sizeof(void*) - 2) |
#define SWAP_ENTRIES | ( | index1, | |
index2 | |||
) |
char* CascNewStr | ( | const char * | szString, |
size_t | nCharsToReserve | ||
) |
wchar_t* CascNewStr | ( | const wchar_t * | szString, |
size_t | nCharsToReserve | ||
) |
void CopyString | ( | char * | szTarget, |
const char * | szSource, | ||
size_t | cchLength | ||
) |
void CopyString | ( | wchar_t * | szTarget, |
const char * | szSource, | ||
size_t | cchLength | ||
) |
void CopyString | ( | char * | szTarget, |
const wchar_t * | szSource, | ||
size_t | cchLength | ||
) |
int GetLastError | ( | ) |
size_t NormalizeFileName | ( | const unsigned char * | NormTable, |
char * | szNormName, | ||
const char * | szFileName, | ||
size_t | cchMaxChars | ||
) |
size_t NormalizeFileName_LowerSlash | ( | char * | szNormName, |
const char * | szFileName, | ||
size_t | cchMaxChars | ||
) |
size_t NormalizeFileName_UpperBkSlash | ( | char * | szNormName, |
const char * | szFileName, | ||
size_t | cchMaxChars | ||
) |
void qsort_pointer_array | ( | void ** | base, |
size_t | num, | ||
int(*)(const void *, const void *, const void *) | compare, | ||
const void * | context | ||
) |
void SetLastError | ( | int | nError | ) |
char* StringFromBinary | ( | LPBYTE | pbBinary, |
size_t | cbBinary, | ||
char * | szBuffer | ||
) |
char* StringFromMD5 | ( | LPBYTE | md5, |
char * | szBuffer | ||
) |
unsigned char AsciiToLowerTable_Slash[256] |
unsigned char AsciiToUpperTable_BkSlash[256] |
unsigned char IntToHexChar[] = "0123456789abcdef" |
|
static |