Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

lfsstruc.h File Reference

Go to the source code of this file.

Classes

struct  _LCB
struct  _LFCB_SYNC
struct  _LCH
struct  _LBCB
struct  _LFCB
struct  _LFS_DATA

Defines

#define LBCB_LOG_WRAPPED   (0x00000001)
#define LBCB_ON_ACTIVE_QUEUE   (0x00000002)
#define LBCB_NOT_EMPTY   (0x00000004)
#define LBCB_FLUSH_COPY   (0x00000008)
#define LBCB_RESTART_LBCB   (0x00000020)
#define LFCB_LOG_WRAPPED   (0x00000001)
#define LFCB_MULTIPLE_PAGE_IO   (0x00000002)
#define LFCB_NO_LAST_LSN   (0x00000004)
#define LFCB_PACK_LOG   (0x00000008)
#define LFCB_REUSE_TAIL   (0x00000010)
#define LFCB_NO_OLDEST_LSN   (0x00000020)
#define LFCB_LOG_FILE_CORRUPT   (0x00000040)
#define LFCB_FINAL_SHUTDOWN   (0x00000080)
#define LFCB_READ_FIRST_RESTART   (0x00000100)
#define LFCB_READ_SECOND_RESTART   (0x00000200)
#define LFCB_RESERVE_LBCB_COUNT   (5)
#define LFCB_MAX_LBCB_COUNT   (25)
#define LFCB_RESERVE_LCB_COUNT   (5)
#define LFCB_MAX_LCB_COUNT   (25)
#define LFS_DATA_INIT_FAILED   (0x00000001)
#define LFS_DATA_INITIALIZED   (0x00000002)
#define LFS_BUFFER1_OWNED   (0x00000001)
#define LFS_BUFFER2_OWNED   (0x00000002)
#define LFS_BUFFER_SIZE   (0x10000)

Typedefs

typedef PVOID PBCB
typedef _LCB LCB
typedef _LCBPLCB
typedef _LFCB_SYNC LFCB_SYNC
typedef _LFCB_SYNCPLFCB_SYNC
typedef _LCH LCH
typedef _LCHPLCH
typedef _LBCB LBCB
typedef _LBCBPLBCB
typedef enum _LFS_IO_STATE LFS_IO_STATE
typedef _LFCB LFCB
typedef _LFCBPLFCB
typedef _LFS_DATA LFS_DATA
typedef _LFS_DATAPLFS_DATA

Enumerations

enum  _LFS_IO_STATE { LfsNoIoInProgress = 0, LfsClientThreadIo }


Define Documentation

#define LBCB_FLUSH_COPY   (0x00000008)
 

Definition at line 286 of file lfsstruc.h.

Referenced by LfsCurrentAvailSpace(), LfsFindFirstIo(), and LfsGetLbcb().

#define LBCB_LOG_WRAPPED   (0x00000001)
 

Definition at line 283 of file lfsstruc.h.

Referenced by LfsGetLbcb().

#define LBCB_NOT_EMPTY   (0x00000004)
 

Definition at line 285 of file lfsstruc.h.

Referenced by LfsCloseLogFile(), LfsCurrentAvailSpace(), LfsWriteLfsRestart(), and LfsWriteLogRecordIntoLogPage().

#define LBCB_ON_ACTIVE_QUEUE   (0x00000002)
 

Definition at line 284 of file lfsstruc.h.

Referenced by LfsCloseLogFile(), LfsFindFirstIo(), LfsFlushToLsnPriv(), LfsGetLbcb(), LfsPrepareLfcbForLogRecord(), LfsWriteLfsRestart(), and LfsWriteLogRecordIntoLogPage().

#define LBCB_RESTART_LBCB   (0x00000020)
 

Definition at line 287 of file lfsstruc.h.

Referenced by LfsDeallocateLbcb(), and LfsWriteLfsRestart().

#define LFCB_FINAL_SHUTDOWN   (0x00000080)
 

Definition at line 606 of file lfsstruc.h.

Referenced by LfsCloseLogFile(), and LfsFlushLfcb().

#define LFCB_LOG_FILE_CORRUPT   (0x00000040)
 

Definition at line 605 of file lfsstruc.h.

Referenced by LfsOpenLogFile().

#define LFCB_LOG_WRAPPED   (0x00000001)
 

Definition at line 599 of file lfsstruc.h.

Referenced by LfsFindLastLsn(), LfsFlushLfcb(), LfsGetLbcb(), LfsUpdateLfcbFromNoRestart(), and LfsUpdateLfcbFromRestart().

#define LFCB_MAX_LBCB_COUNT   (25)
 

Definition at line 611 of file lfsstruc.h.

Referenced by LfsDeallocateLbcb().

#define LFCB_MAX_LCB_COUNT   (25)
 

Definition at line 614 of file lfsstruc.h.

Referenced by LfsDeallocateLcb().

#define LFCB_MULTIPLE_PAGE_IO   (0x00000002)
 

Definition at line 600 of file lfsstruc.h.

Referenced by LfsFindFirstIo(), LfsFlushLfcb(), LfsUpdateLfcbFromNoRestart(), LfsUpdateLfcbFromRestart(), and LfsUpdateRestartAreaFromLfcb().

#define LFCB_NO_LAST_LSN   (0x00000004)
 

Definition at line 601 of file lfsstruc.h.

Referenced by LfsFindCurrentAvail(), LfsFindLastLsn(), LfsGetLbcb(), LfsQueryLastLsn(), LfsUpdateLfcbFromNoRestart(), LfsUpdateLfcbFromRestart(), and LfsWriteLogRecordIntoLogPage().

#define LFCB_NO_OLDEST_LSN   (0x00000020)
 

Definition at line 604 of file lfsstruc.h.

Referenced by LfsFindCurrentAvail(), LfsSetBaseLsnPriv(), LfsUpdateLfcbFromNoRestart(), and LfsUpdateLfcbFromRestart().

#define LFCB_PACK_LOG   (0x00000008)
 

Definition at line 602 of file lfsstruc.h.

Referenced by LfsCopyReadLogRecord(), LfsFindFirstIo(), LfsFindLastLsn(), LfsFlushToLsnPriv(), LfsOpenLogFile(), LfsPrepareLfcbForLogRecord(), LfsResetUndoTotal(), LfsUpdateLfcbFromNoRestart(), LfsUpdateLfcbFromPgHeader(), LfsUpdateLfcbFromRestart(), LfsVerifyLogSpaceAvail(), LfsWriteLfsRestart(), and LfsWriteLogRecordIntoLogPage().

#define LFCB_READ_FIRST_RESTART   (0x00000100)
 

Definition at line 607 of file lfsstruc.h.

Referenced by LfsFlushLfcb(), and LfsRestartLogFile().

#define LFCB_READ_SECOND_RESTART   (0x00000200)
 

Definition at line 608 of file lfsstruc.h.

Referenced by LfsFlushLfcb(), and LfsRestartLogFile().

#define LFCB_RESERVE_LBCB_COUNT   (5)
 

Definition at line 610 of file lfsstruc.h.

Referenced by LfsAllocateLbcb(), and LfsAllocateLfcb().

#define LFCB_RESERVE_LCB_COUNT   (5)
 

Definition at line 613 of file lfsstruc.h.

Referenced by LfsAllocateLcb(), and LfsAllocateLfcb().

#define LFCB_REUSE_TAIL   (0x00000010)
 

Definition at line 603 of file lfsstruc.h.

Referenced by LfsFindCurrentAvail(), LfsFindLastLsn(), LfsGetLbcb(), and LfsUpdateLfcbFromRestart().

#define LFS_BUFFER1_OWNED   (0x00000001)
 

Definition at line 670 of file lfsstruc.h.

Referenced by LfsAllocateSpanningBuffer(), and LfsFreeSpanningBuffer().

#define LFS_BUFFER2_OWNED   (0x00000002)
 

Definition at line 671 of file lfsstruc.h.

Referenced by LfsAllocateSpanningBuffer(), and LfsFreeSpanningBuffer().

#define LFS_BUFFER_SIZE   (0x10000)
 

Definition at line 673 of file lfsstruc.h.

Referenced by LfsAllocateSpanningBuffer(), and LfsInitializeLogFileService().

#define LFS_DATA_INIT_FAILED   (0x00000001)
 

Definition at line 667 of file lfsstruc.h.

Referenced by LfsInitializeLogFileService().

#define LFS_DATA_INITIALIZED   (0x00000002)
 

Definition at line 668 of file lfsstruc.h.

Referenced by LfsInitializeLogFileService().


Typedef Documentation

typedef struct _LBCB LBCB
 

Referenced by LfsAllocateLbcb(), and LfsFlushLfcb().

typedef struct _LCB LCB
 

Referenced by LfsAllocateLcb().

typedef struct _LCH LCH
 

typedef struct _LFCB LFCB
 

Referenced by LfsAllocateLfcb().

typedef struct _LFCB_SYNC LFCB_SYNC
 

typedef struct _LFS_DATA LFS_DATA
 

Referenced by LfsInitializeLogFileService().

typedef enum _LFS_IO_STATE LFS_IO_STATE
 

typedef PVOID PBCB
 

Definition at line 25 of file lfsstruc.h.

typedef struct _LBCB * PLBCB
 

typedef struct _LCB * PLCB
 

typedef struct _LCH * PLCH
 

typedef struct _LFCB * PLFCB
 

typedef struct _LFCB_SYNC * PLFCB_SYNC
 

typedef struct _LFS_DATA * PLFS_DATA
 


Enumeration Type Documentation

enum _LFS_IO_STATE
 

Enumeration values:
LfsNoIoInProgress 
LfsClientThreadIo 

Definition at line 294 of file lfsstruc.h.

00294 { 00295 00296 LfsNoIoInProgress = 0, 00297 LfsClientThreadIo 00298 00299 } LFS_IO_STATE;


Generated on Sat May 15 19:44:32 2004 for test by doxygen 1.3.7