mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-12 02:34:59 +03:00
v4.03-9411-rtm
This commit is contained in:
@ -224,6 +224,11 @@ struct ZIP_PACKER
|
||||
ZIP_FILE *CurrentFile;
|
||||
};
|
||||
|
||||
struct ENUM_DIR_WITH_SUB_DATA
|
||||
{
|
||||
LIST *FileList;
|
||||
};
|
||||
|
||||
void InitCrc32();
|
||||
UINT Crc32(void *buf, UINT pos, UINT len);
|
||||
UINT Crc32First(void *buf, UINT pos, UINT len);
|
||||
@ -287,6 +292,8 @@ bool FileRename(char *old_name, char *new_name);
|
||||
bool FileRenameW(wchar_t *old_name, wchar_t *new_name);
|
||||
void NormalizePath(char *dst, UINT size, char *src);
|
||||
void NormalizePathW(wchar_t *dst, UINT size, wchar_t *src);
|
||||
bool GetRelativePathW(wchar_t *dst, UINT size, wchar_t *fullpath, wchar_t *basepath);
|
||||
bool GetRelativePath(char *dst, UINT size, char *fullpath, char *basepath);
|
||||
TOKEN_LIST *ParseSplitedPath(char *path);
|
||||
UNI_TOKEN_LIST *ParseSplitedPathW(wchar_t *path);
|
||||
char *GetCurrentPathEnvStr();
|
||||
@ -312,7 +319,7 @@ void GetExeName(char *name, UINT size);
|
||||
void GetExeNameW(wchar_t *name, UINT size);
|
||||
void GetExeDir(char *name, UINT size);
|
||||
void GetExeDirW(wchar_t *name, UINT size);
|
||||
void BuildHamcore();
|
||||
void BuildHamcore(char *dst_filename, char *src_dir, bool unix_only);
|
||||
int CompareHamcore(void *p1, void *p2);
|
||||
void InitHamcore();
|
||||
void FreeHamcore();
|
||||
@ -325,6 +332,9 @@ DIRLIST *EnumDir(char *dirname);
|
||||
DIRLIST *EnumDirW(wchar_t *dirname);
|
||||
DIRLIST *EnumDirEx(char *dirname, COMPARE *compare);
|
||||
DIRLIST *EnumDirExW(wchar_t *dirname, COMPARE *compare);
|
||||
UNI_TOKEN_LIST *EnumDirWithSubDirsW(wchar_t *dirname);
|
||||
TOKEN_LIST *EnumDirWithSubDirs(char *dirname);
|
||||
void EnumDirWithSubDirsMain(ENUM_DIR_WITH_SUB_DATA *d, wchar_t *dirname);
|
||||
void FreeDir(DIRLIST *d);
|
||||
int CompareDirListByName(void *p1, void *p2);
|
||||
bool GetDiskFree(char *path, UINT64 *free_size, UINT64 *used_size, UINT64 *total_size);
|
||||
|
Reference in New Issue
Block a user