summaryrefslogtreecommitdiff
path: root/win32/win32zip.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32zip.h')
-rw-r--r--win32/win32zip.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/win32/win32zip.h b/win32/win32zip.h
index 8ecb74c..3d8bca5 100644
--- a/win32/win32zip.h
+++ b/win32/win32zip.h
@@ -1,9 +1,11 @@
/*
- Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
+ win32/win32zip.h - Zip 3
- See the accompanying file LICENSE, version 2004-May-22 or later
+ Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
+
+ See the accompanying file LICENSE, version 2007-Mar-4 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
+ 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 _WIN32ZIP_H
@@ -13,13 +15,17 @@
* NT specific functions for ZIP.
*/
-int GetFileMode(const char *name);
-#if 0 /* never used */
-long GetTheFileTime(const char *name, iztimes *z_times);
+int GetFileMode(char *name);
+#ifdef UNICODE_SUPPORT
+int GetFileModeW(wchar_t *name);
#endif
+long GetTheFileTime(char *name, iztimes *z_times);
-int IsFileNameValid(const char *name);
-int IsFileSystemOldFAT(const char *dir);
+int IsFileNameValid(char *name);
+int IsFileSystemOldFAT(char *dir);
+#ifdef UNICODE_SUPPORT
+int IsFileSystemOldFATW(wchar_t *dir);
+#endif
void ChangeNameForFAT(char *name);
char *getVolumeLabel(int drive, ulg *vtime, ulg *vmode, time_t *vutim);
@@ -28,6 +34,9 @@ char *getVolumeLabel(int drive, ulg *vtime, ulg *vmode, time_t *vutim);
char *StringLower(char *);
#endif
-char *GetLongPathEA(const char *name);
+char *GetLongPathEA(char *name);
+#ifdef UNICODE_SUPPORT
+wchar_t *GetLongPathEAW(wchar_t *name);
+#endif
#endif /* _WIN32ZIP_H */