2
Copyright (c) 1990-2001 Info-ZIP. All rights reserved.
4
See the accompanying file LICENSE, version 2000-Apr-09 or later
5
(the contents of which are also included in zip.h) for terms of use.
6
If, for some reason, all these files are missing, the Info-ZIP license
7
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
13
char *StripPartialDir(char *CompletePath,
14
const char *PartialPath, const char *FullPath);
16
char *Real2RfDfFilen(char *RfDfFilen, const char *RealPath, short CurrentFork,
17
short MacZipMode, Boolean DataForkOnly);
18
char *RfDfFilen2Real(char *RealFn, const char *RfDfFilen, short MacZipMode,
19
Boolean DataForkOnly, short *CurrentFork);
21
unsigned short GetVolumeFromPath(const char *FullPath, char *VolumeName);
22
char *GetCompletePath(char *CompletePath, const char *name, FSSpec *Spec,
24
char *TruncFilename(char *DirPath, const char *FilePath);
25
char *GetFilename(char *CompletePath, const char *name);
26
char *GetFullPathFromSpec(char *CompletePath, FSSpec *Spec, OSErr *err);
27
char *GetFullPathFromID(char *CompletePath, short vRefNum, long dirID,
28
ConstStr255Param name, OSErr *err);
30
char *GetAppName(void);
31
void createArchiveName(char *Path);
32
void FindDesktopFolder(char *Path);
33
char *FindNewExtractFolder(char *ExtractPath, Boolean uniqueFolder);
35
short vRefNum, /* Volume reference number. */
36
OSType folderType, /* Folder type taken by FindFolder. */
37
Boolean createFolder, /* Should we create it if non-existant. */
38
FSSpec *spec); /* Pointer to resulting directory. */
40
char *MakeFilenameShorter(const char *LongFilename);
43
Rule: UnKnown_EF should always be zero.
44
JohnnyLee_EF, NewZipMode_EF should always greater than all
48
#define TomBrownZipIt1_EF 10
49
#define TomBrownZipIt2_EF 20
50
#define JohnnyLee_EF 30
51
#define NewZipMode_EF 40
55
#define ResourceFork -1
64
#endif /* PATHNAME_H */