Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/lzexpand.h')
-rw-r--r--winsup/w32api/include/lzexpand.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/winsup/w32api/include/lzexpand.h b/winsup/w32api/include/lzexpand.h
new file mode 100644
index 000000000..5c06d14e4
--- /dev/null
+++ b/winsup/w32api/include/lzexpand.h
@@ -0,0 +1,36 @@
+#ifndef _LZEXPAND_H
+#define _LZEXPAND_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+#define LZERROR_BADINHANDLE (-1)
+#define LZERROR_BADOUTHANDLE (-2)
+#define LZERROR_READ (-3)
+#define LZERROR_WRITE (-4)
+#define LZERROR_GLOBALLOC (-5)
+#define LZERROR_GLOBLOCK (-6)
+#define LZERROR_BADVALUE (-7)
+#define LZERROR_UNKNOWNALG (-8)
+LONG WINAPI CopyLZFile(INT,INT);
+INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
+INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
+VOID APIENTRY LZClose(INT);
+LONG APIENTRY LZCopy(INT,INT);
+VOID WINAPI LZDone(VOID);
+INT WINAPI LZInit(INT);
+INT WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
+INT WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
+INT WINAPI LZRead(INT,LPSTR,INT);
+LONG WINAPI LZSeek(INT,LONG,INT);
+INT WINAPI LZStart(VOID);
+#ifdef UNICODE
+#define GetExpandedName GetExpandedNameW
+#define LZOpenFile LZOpenFileW
+#else
+#define GetExpandedName GetExpandedNameA
+#define LZOpenFile LZOpenFileA
+#endif
+#ifdef __cplusplus
+}
+#endif
+#endif