~ubuntu-branches/ubuntu/quantal/unrar-nonfree/quantal

« back to all changes in this revision

Viewing changes to filefn.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Martin Meredith
  • Date: 2009-06-06 17:46:05 UTC
  • mto: (1.1.11 upstream) (5.1.5 sid)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20090606174605-825ysfkrhw7wkc9e
ImportĀ upstreamĀ versionĀ 3.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
enum MKDIR_CODE {MKDIR_SUCCESS,MKDIR_ERROR,MKDIR_BADPATH};
5
5
 
6
 
MKDIR_CODE MakeDir(const char *Name,const wchar *NameW,uint Attr);
 
6
MKDIR_CODE MakeDir(const char *Name,const wchar *NameW,bool SetAttr,uint Attr);
7
7
bool CreatePath(const char *Path,const wchar *PathW,bool SkipLastName);
8
8
void SetDirTime(const char *Name,const wchar *NameW,RarTime *ftm,RarTime *ftc,RarTime *fta);
9
9
bool IsRemovable(const char *Name);
10
 
Int64 GetFreeDisk(const char *Name);
 
10
int64 GetFreeDisk(const char *Name);
11
11
bool FileExist(const char *Name,const wchar *NameW=NULL);
12
12
bool WildFileExist(const char *Name,const wchar *NameW=NULL);
13
13
bool IsDir(uint Attr);
26
26
 
27
27
 
28
28
enum CALCCRC_SHOWMODE {CALCCRC_SHOWNONE,CALCCRC_SHOWTEXT,CALCCRC_SHOWALL};
29
 
uint CalcFileCRC(File *SrcFile,Int64 Size=INT64ERR,CALCCRC_SHOWMODE ShowMode=CALCCRC_SHOWNONE);
 
29
uint CalcFileCRC(File *SrcFile,int64 Size=INT64NDF,CALCCRC_SHOWMODE ShowMode=CALCCRC_SHOWNONE);
30
30
 
31
31
bool RenameFile(const char *SrcName,const wchar *SrcNameW,const char *DestName,const wchar *DestNameW);
32
32
bool DelFile(const char *Name);