1/* 2 Copyright (c) 1990-1999 Info-ZIP. All rights reserved. 3 4 See the accompanying file LICENSE, version 1999-Oct-05 or later 5 (the contents of which are also included in zip.h) for terms of use. 6 If, for some reason, both of these files are missing, the Info-ZIP license 7 also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html 8*/ 9/* 10 Example header file 11*/ 12#ifndef _EXAMPLE_H 13#define _EXAMPLE_H 14 15#include <windows.h> 16#include <assert.h> /* required for all Windows applications */ 17#include <stdlib.h> 18#include <stdio.h> 19#include <commdlg.h> 20#include <dlgs.h> 21#include <windowsx.h> 22 23#ifndef EXPENTRY 24#define EXPENTRY WINAPI 25#endif 26 27#include "structs.h" 28 29/* Defines */ 30#ifndef MSWIN 31#define MSWIN 32#endif 33 34typedef int (WINAPI * _DLL_ZIP)(ZCL); 35typedef int (WINAPI * _ZIP_USER_FUNCTIONS)(LPZIPUSERFUNCTIONS); 36typedef BOOL (WINAPI * ZIPSETOPTIONS)(LPZPOPT); 37 38/* Global variables */ 39 40extern LPZIPUSERFUNCTIONS lpZipUserFunctions; 41 42extern HINSTANCE hZipDll; 43 44extern int hFile; /* file handle */ 45 46/* Global functions */ 47 48int WINAPI DisplayBuf(char far *, unsigned long int); 49extern _DLL_ZIP ZipArchive; 50extern _ZIP_USER_FUNCTIONS ZipInit; 51extern ZIPSETOPTIONS ZipSetOptions; 52 53#endif /* _EXAMPLE_H */ 54 55