diff options
author | Shauren <shauren.trinity@gmail.com> | 2019-06-06 16:48:21 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-06-08 17:09:24 +0200 |
commit | fc330fd8ff0115804d9c4b53a1f810c00dd63de9 (patch) | |
tree | cfa10998fed66779834bf0b7a9b8b799d33d91d4 /dep/CascLib/src/common/DumpContext.h | |
parent | 82c7b6c5688495d90c4ee5995a4ff74039348296 (diff) |
Dep/CascLib: Update to ladislav-zezula/CascLib@a1197edf0b3bd4d52c3f39be7fa7b44bb0b98012
Diffstat (limited to 'dep/CascLib/src/common/DumpContext.h')
-rw-r--r-- | dep/CascLib/src/common/DumpContext.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/dep/CascLib/src/common/DumpContext.h b/dep/CascLib/src/common/DumpContext.h deleted file mode 100644 index 6f725f5b942..00000000000 --- a/dep/CascLib/src/common/DumpContext.h +++ /dev/null @@ -1,38 +0,0 @@ -/*****************************************************************************/ -/* DumpContext.h Copyright (c) Ladislav Zezula 2015 */ -/*---------------------------------------------------------------------------*/ -/* Interface for TDumpContext */ -/*---------------------------------------------------------------------------*/ -/* Date Ver Who Comment */ -/* -------- ---- --- ------- */ -/* 16.03.15 1.00 Lad Created */ -/*****************************************************************************/ - -#ifndef __DUMP_CONTEXT_H__ -#define __DUMP_CONTEXT_H__ - -//----------------------------------------------------------------------------- -// Defines - -// Size of the buffer for the dump context -#define CASC_DUMP_BUFFER_SIZE 0x10000 - -// Structure for dump context -struct TDumpContext -{ - TFileStream * pStream; // Pointer to the open stream - LPBYTE pbBufferBegin; // Begin of the dump buffer - LPBYTE pbBufferPtr; // Current dump buffer pointer - LPBYTE pbBufferEnd; // End of the dump buffer - - BYTE DumpBuffer[CASC_DUMP_BUFFER_SIZE]; // Dump buffer -}; - -//----------------------------------------------------------------------------- -// Dump context functions - -TDumpContext * CreateDumpContext(struct _TCascStorage * hs, const TCHAR * szNameFormat); -int dump_print(TDumpContext * dc, const char * szFormat, ...); -int dump_close(TDumpContext * dc); - -#endif // __DUMP_CONTEXT_H__ |