| 1 | 
 | 
|---|
| 2 | /***********************************************************************
 | 
|---|
| 3 | 
 | 
|---|
| 4 |   $Id: wrappers.h 1215 2008-09-13 06:54:03Z jbs $
 | 
|---|
| 5 | 
 | 
|---|
| 6 |   <<<description here>>>
 | 
|---|
| 7 | 
 | 
|---|
| 8 |   Copyright (c) 1993-98 M. Kimes
 | 
|---|
| 9 |   Copyright (c) 2008 Steven H. Levine
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   Change log
 | 
|---|
| 12 | 
 | 
|---|
| 13 | ***********************************************************************/
 | 
|---|
| 14 | 
 | 
|---|
| 15 | #if !defined(WRAPPERS_H)
 | 
|---|
| 16 | #define WRAPPERS_H
 | 
|---|
| 17 | 
 | 
|---|
| 18 | APIRET xDosFindFirst(PSZ pszFileSpec,
 | 
|---|
| 19 |                      PHDIR phdir,
 | 
|---|
| 20 |                      ULONG  flAttribute,
 | 
|---|
| 21 |                      PVOID  pfindbuf,
 | 
|---|
| 22 |                      ULONG  cbBuf,
 | 
|---|
| 23 |                      PULONG pcFileNames,
 | 
|---|
| 24 |                      ULONG  ulInfoLevel);
 | 
|---|
| 25 | APIRET xDosFindNext(HDIR   hDir,
 | 
|---|
| 26 |                     PVOID  pfindbuf,
 | 
|---|
| 27 |                     ULONG  cbfindbuf,
 | 
|---|
| 28 |                     PULONG pcFilenames,
 | 
|---|
| 29 |                     ULONG  ulInfoLevel);        // 06 Oct 07 SHL Added
 | 
|---|
| 30 | APIRET xDosSetPathInfo(PSZ   pszPathName,
 | 
|---|
| 31 |                        ULONG ulInfoLevel,
 | 
|---|
| 32 |                        PVOID pInfoBuf,
 | 
|---|
| 33 |                        ULONG cbInfoBuf,
 | 
|---|
| 34 |                        ULONG flOptions);
 | 
|---|
| 35 | APIRET xDosFindFirst(PSZ pszFileSpec,
 | 
|---|
| 36 |                      PHDIR phdir,
 | 
|---|
| 37 |                      ULONG  flAttribute,
 | 
|---|
| 38 |                      PVOID  pfindbuf,
 | 
|---|
| 39 |                      ULONG  cbBuf,
 | 
|---|
| 40 |                      PULONG pcFileNames,
 | 
|---|
| 41 |                      ULONG  ulInfoLevel);
 | 
|---|
| 42 | PSZ xfgets(PSZ pszBuf, size_t cMaxBytes, FILE * fp, PCSZ pszSrcFile,
 | 
|---|
| 43 |            UINT uiLineNumber);
 | 
|---|
| 44 | PSZ xfgets_bstripcr(PSZ pszBuf, size_t cMaxBytes, FILE * fp, PCSZ pszSrcFile,
 | 
|---|
| 45 |                     UINT uiLineNumber);
 | 
|---|
| 46 | FILE *xfopen(PCSZ pszFileName, PCSZ pszMode, PCSZ pszSrcFile,
 | 
|---|
| 47 |              UINT uiLineNumber);
 | 
|---|
| 48 | VOID xfree(PVOID pv, PCSZ pszSrcFile, UINT uiLineNumber);
 | 
|---|
| 49 | FILE *xfsopen(PCSZ pszFileName, PCSZ pszMode, INT fSharemode, PCSZ pszSrcFile,
 | 
|---|
| 50 |               UINT uiLineNumber);
 | 
|---|
| 51 | PVOID xmalloc(size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber);
 | 
|---|
| 52 | PVOID xmallocz(size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber);
 | 
|---|
| 53 | PVOID xrealloc(PVOID pvIn, size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber);
 | 
|---|
| 54 | PVOID xstrdup(PCSZ pszIn, PCSZ pszSrcFile, UINT uiLineNumber);
 | 
|---|
| 55 | 
 | 
|---|
| 56 | // Data declarations
 | 
|---|
| 57 | extern BOOL fNoLargeFileSupport;
 | 
|---|
| 58 | 
 | 
|---|
| 59 | #endif // WRAPPERS_H
 | 
|---|