"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "example.h" of archive zip232dN.zip:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*
    2   Copyright (c) 1990-2005 Info-ZIP.  All rights reserved.
    3 
    4   See the accompanying file LICENSE, version 2004-May-22 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.info-zip.org/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 
   34 typedef int (WINAPI * _DLL_ZIP)(ZCL);
   35 typedef int (WINAPI * _ZIP_USER_FUNCTIONS)(LPZIPUSERFUNCTIONS);
   36 typedef BOOL (WINAPI * ZIPSETOPTIONS)(LPZPOPT);
   37 
   38 /* Global variables */
   39 
   40 extern LPZIPUSERFUNCTIONS lpZipUserFunctions;
   41 
   42 extern HINSTANCE hZipDll;
   43 
   44 extern int hFile;                 /* file handle             */
   45 
   46 /* Global functions */
   47 
   48 int WINAPI DisplayBuf(char far *, unsigned long int);
   49 extern _DLL_ZIP ZipArchive;
   50 extern _ZIP_USER_FUNCTIONS ZipInit;
   51 extern ZIPSETOPTIONS ZipSetOptions;
   52 
   53 #endif /* _EXAMPLE_H */
   54