Ported FLAIM to FTK.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@509 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-06-05 22:59:36 +00:00
parent 728ce20c8d
commit 7de8b6be39
188 changed files with 7093 additions and 73582 deletions

View File

@@ -25,7 +25,7 @@
#include "flaimsys.h"
FSTATIC void lgWriteComplete(
F_IOBuffer * pIOBuffer);
IF_IOBuffer * pIOBuffer);
/****************************************************************************
Desc:
@@ -65,7 +65,7 @@ Desc: This is the callback routine that is called when a disk write is
completed.
****************************************************************************/
FSTATIC void lgWriteComplete(
F_IOBuffer * pIOBuffer)
IF_IOBuffer * pIOBuffer)
{
#ifdef FLM_DBG_LOG
FFILE * pFile = (FFILE *)pIOBuffer->getCompletionCallbackData( 0);
@@ -73,7 +73,7 @@ FSTATIC void lgWriteComplete(
FLMUINT uiLength = pIOBuffer->getBufferSize();
char * pszEvent;
#endif
DB_STATS * pDbStats = pIOBuffer->getDbStats();
DB_STATS * pDbStats = (DB_STATS *)pIOBuffer->getStats();
#ifdef FLM_DBG_LOG
pszEvent = (char *)(RC_OK( pIOBuffer->getCompletionCode())
@@ -106,7 +106,7 @@ RCODE lgFlushLogBuffer(
{
RCODE rc = FERR_OK;
FLMUINT uiBytesWritten;
F_IOBuffer * pAsyncBuffer;
IF_IOBuffer * pAsyncBuffer;
if (!bDoAsync)
{
@@ -135,7 +135,7 @@ RCODE lgFlushLogBuffer(
// after the call to WriteBlock, unless we are doing
// non-asynchronous write.
rc = pSFileHdl->WriteBlock( pFile->uiCurrLogBlkAddr,
rc = pSFileHdl->writeBlock( pFile->uiCurrLogBlkAddr,
pFile->uiCurrLogWriteOffset,
pFile->pCurrLogBuffer->getBuffer(),
pFile->pCurrLogBuffer->getBufferSize(),
@@ -222,7 +222,7 @@ RCODE lgOutputBlock(
goto Exit;
}
if (RC_BAD( rc = pSFileHdl->CreateFile( uiFileNumber )))
if (RC_BAD( rc = pSFileHdl->createFile( uiFileNumber )))
{
goto Exit;
}