1/* 2 Copyright (c) 1990-2009 Info-ZIP. All rights reserved. 3 4 See the accompanying file LICENSE, version 2009-Jan-02 or later 5 (the contents of which are also included in unzip.h) for terms of use. 6 If, for some reason, all these files are missing, the Info-ZIP license 7 also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html 8*/ 9/* 10 unzvers.h (for UnZip) by Info-ZIP. 11 */ 12 13#ifndef __unzvers_h /* don't include more than once */ 14#define __unzvers_h 15 16#ifdef BETA 17# undef BETA /* undefine BETA for public releases */ 18#endif 19 20#ifdef BETA 21# define UZ_BETALEVEL "h03 BETA" 22# define UZ_VERSION_DATE "17 Apr 09" /* internal beta version */ 23#else 24# define UZ_BETALEVEL "" 25# define UZ_VERSION_DATE "20 April 2009" /* official release version */ 26# define RELEASE 27#endif 28 29#define UZ_MAJORVER 6 /* UnZip */ 30#define UZ_MINORVER 0 31 32#define ZI_MAJORVER 3 /* ZipInfo */ 33#define ZI_MINORVER 0 34 35#define UZ_PATCHLEVEL 0 36 37#define UZ_VER_STRING "6.0" /* keep in sync with Version numbers! */ 38 39#ifndef IZ_COMPANY_NAME /* might be already defined... */ 40# define IZ_COMPANY_NAME "Info-ZIP" 41#endif 42 43/* these are obsolete but remain for backward compatibility: */ 44#if (defined(OS2) || defined(__OS2__)) 45# define D2_MAJORVER UZ_MAJORVER /* DLL for OS/2 */ 46# define D2_MINORVER UZ_MINORVER 47# define D2_PATCHLEVEL UZ_PATCHLEVEL 48#endif 49 50#define DW_MAJORVER UZ_MAJORVER /* DLL for MS Windows */ 51#define DW_MINORVER UZ_MINORVER 52#define DW_PATCHLEVEL UZ_PATCHLEVEL 53 54#define WIN_VERSION_DATE UZ_VERSION_DATE 55 56#define UNZ_DLL_VERSION UZ_VER_STRING 57 58/* The following version constants specify the UnZip version that introduced 59 * the most recent incompatible change (means: change that breaks backward 60 * compatibility) of a DLL/Library binary API definition. 61 * 62 * Currently, UnZip supports three distinct DLL/Library APIs, which each 63 * carry their own "compatibility level": 64 * a) The "generic" (console-mode oriented) API has been used on UNIX, 65 * for example. This API provides a "callable" interface similar to the 66 * interactive command line of the normal program executables. 67 * b) The OS/2-only API provides (additional) functions specially tailored 68 * for interfacing with the REXX shell. 69 * c) The Win32 DLL API with a pure binary interface which can be used to 70 * build GUI mode as well as Console mode applications. 71 * 72 * Whenever a change that breaks backward compatibility gets applied to 73 * any of the DLL/Library APIs, the corresponding compatibility level should 74 * be synchronized with the current UnZip version numbers. 75 */ 76/* generic DLL API minimum compatible version*/ 77#define UZ_GENAPI_COMP_MAJOR 6 78#define UZ_GENAPI_COMP_MINOR 0 79#define UZ_GENAPI_COMP_REVIS 0 80/* os2dll API minimum compatible version*/ 81#define UZ_OS2API_COMP_MAJOR 6 82#define UZ_OS2API_COMP_MINOR 0 83#define UZ_OS2API_COMP_REVIS 0 84/* windll API minimum compatible version*/ 85#define UZ_WINAPI_COMP_MAJOR 6 86#define UZ_WINAPI_COMP_MINOR 0 87#define UZ_WINAPI_COMP_REVIS 0 88 89#endif /* !__unzvers_h */ 90