summaryrefslogtreecommitdiff
path: root/macos/source/pathname.h
diff options
context:
space:
mode:
Diffstat (limited to 'macos/source/pathname.h')
-rw-r--r--macos/source/pathname.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/macos/source/pathname.h b/macos/source/pathname.h
index 05a9078..1a39ed3 100644
--- a/macos/source/pathname.h
+++ b/macos/source/pathname.h
@@ -1,10 +1,10 @@
/*
- Copyright (c) 1990-1999 Info-ZIP. All rights reserved.
+ Copyright (c) 1990-2001 Info-ZIP. All rights reserved.
- See the accompanying file LICENSE, version 1999-Oct-05 or later
+ See the accompanying file LICENSE, version 2000-Apr-09 or later
(the contents of which are also included in zip.h) for terms of use.
- If, for some reason, both of these files are missing, the Info-ZIP license
- also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html
+ If, for some reason, all these files are missing, the Info-ZIP license
+ also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
#ifndef PATHNAME_H
#define PATHNAME_H 1
@@ -30,7 +30,12 @@ char *GetFullPathFromID(char *CompletePath, short vRefNum, long dirID,
char *GetAppName(void);
void createArchiveName(char *Path);
void FindDesktopFolder(char *Path);
-char *FindNewExtractFolder(char *ExtractPath);
+char *FindNewExtractFolder(char *ExtractPath, Boolean uniqueFolder);
+OSErr FSpFindFolder(
+ short vRefNum, /* Volume reference number. */
+ OSType folderType, /* Folder type taken by FindFolder. */
+ Boolean createFolder, /* Should we create it if non-existant. */
+ FSSpec *spec); /* Pointer to resulting directory. */
char *MakeFilenameShorter(const char *LongFilename);