summaryrefslogtreecommitdiff
path: root/Build/source/extra/unzip/windll/structs.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 14:02:38 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 14:02:38 +0000
commit7b75da706bf852114d792cf3b0f3c73ae0ca0fb8 (patch)
treec76bdff652167455b3e9534bedf558ae88a3dcdb /Build/source/extra/unzip/windll/structs.h
parent84ef24a5151f308cbe96edd705d1cdedd98a4210 (diff)
directories not used for build moved to extra/
git-svn-id: svn://tug.org/texlive/trunk@15980 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/extra/unzip/windll/structs.h')
-rw-r--r--Build/source/extra/unzip/windll/structs.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/Build/source/extra/unzip/windll/structs.h b/Build/source/extra/unzip/windll/structs.h
new file mode 100644
index 00000000000..39a908d3e16
--- /dev/null
+++ b/Build/source/extra/unzip/windll/structs.h
@@ -0,0 +1,72 @@
+#ifndef __structs_h
+#define __structs_h
+
+#ifndef Far
+# define Far far
+#endif
+
+/* Porting definitions between Win 3.1x and Win32 */
+#ifdef WIN32
+# define far
+# define _far
+# define __far
+# define near
+# define _near
+# define __near
+# ifndef FAR
+# define FAR
+# endif
+#endif
+
+#ifndef PATH_MAX
+# define PATH_MAX 260 /* max total file or directory name path */
+#endif
+
+#ifndef DEFINED_ONCE
+#define DEFINED_ONCE
+
+typedef int (WINAPI DLLPRNT) (LPSTR, unsigned long);
+typedef int (WINAPI DLLPASSWORD) (LPSTR, int, LPCSTR, LPCSTR);
+typedef int (WINAPI DLLSERVICE) (LPCSTR, unsigned long);
+#endif
+typedef void (WINAPI DLLSND) (void);
+typedef int (WINAPI DLLREPLACE)(LPSTR);
+typedef void (WINAPI DLLMESSAGE)(unsigned long, unsigned long, unsigned,
+ unsigned, unsigned, unsigned, unsigned, unsigned,
+ char, LPSTR, LPSTR, unsigned long, char);
+
+typedef struct {
+DLLPRNT *print;
+DLLSND *sound;
+DLLREPLACE *replace;
+DLLPASSWORD *password;
+DLLMESSAGE *SendApplicationMessage;
+DLLSERVICE *ServCallBk;
+unsigned long TotalSizeComp;
+unsigned long TotalSize;
+int CompFactor;
+unsigned int NumMembers;
+WORD cchComment;
+} USERFUNCTIONS, far * LPUSERFUNCTIONS;
+
+typedef struct {
+int ExtractOnlyNewer;
+int SpaceToUnderscore;
+int PromptToOverwrite;
+int fQuiet;
+int ncflag;
+int ntflag;
+int nvflag;
+int nUflag;
+int nzflag;
+int ndflag;
+int noflag;
+int naflag;
+int nZIflag;
+int C_flag;
+int fPrivilege;
+LPSTR lpszZipFN;
+LPSTR lpszExtractDir;
+} DCL, far * LPDCL;
+
+#endif /* __structs_h */