| 1 |  | 
|---|
| 2 | /*********************************************************************** | 
|---|
| 3 |  | 
|---|
| 4 | $Id: wrappers.h 1237 2008-09-17 07:29:54Z 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 | PSZ xfgets(PSZ pszBuf, size_t cMaxBytes, FILE * fp, PCSZ pszSrcFile, | 
|---|
| 36 | UINT uiLineNumber); | 
|---|
| 37 | PSZ xfgets_bstripcr(PSZ pszBuf, size_t cMaxBytes, FILE * fp, PCSZ pszSrcFile, | 
|---|
| 38 | UINT uiLineNumber); | 
|---|
| 39 | FILE *xfopen(PCSZ pszFileName, PCSZ pszMode, PCSZ pszSrcFile, | 
|---|
| 40 | UINT uiLineNumber); | 
|---|
| 41 | VOID xfree(PVOID pv, PCSZ pszSrcFile, UINT uiLineNumber); | 
|---|
| 42 | FILE *xfsopen(PCSZ pszFileName, PCSZ pszMode, INT fSharemode, PCSZ pszSrcFile, | 
|---|
| 43 | UINT uiLineNumber); | 
|---|
| 44 | PVOID xmalloc(size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber); | 
|---|
| 45 | PVOID xmallocz(size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber); | 
|---|
| 46 | PVOID xrealloc(PVOID pvIn, size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber); | 
|---|
| 47 | PVOID xstrdup(PCSZ pszIn, PCSZ pszSrcFile, UINT uiLineNumber); | 
|---|
| 48 |  | 
|---|
| 49 | // Data declarations | 
|---|
| 50 | extern BOOL fNoLargeFileSupport; | 
|---|
| 51 |  | 
|---|
| 52 | #endif // WRAPPERS_H | 
|---|