windows-nt/Source/XPSP1/NT/net/jet500/jet/dae/inc/ssib.h
2020-09-26 16:20:57 +08:00

34 lines
807 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//=========== DAE: OS/2 Database Access Engine =================
//=========== ssib.h: Storage System Interface Block =================
//
// Storage System Interface Block
//
struct _ssib
{
struct _pib *ppib; // process using this SSIB
struct _bf *pbf; // ptr to page that cusr on, or pbcbNil
LINE line; // cb/pb of current record
INT itag; // current line
BOOL fDisableAssert;
};
#define SetupSSIB( pssibT, ppibUser ) \
{ \
(pssibT)->pbf = pbfNil; \
(pssibT)->ppib = ppibUser; \
(pssibT)->fDisableAssert = fFalse; \
}
#define SSIBSetDbid( pssib, dbid )
#define SSIBSetPgno( pssib, pgno )
#ifdef DEBUG
#define CheckSSIB( pssib ) \
Assert( pssib->pbf != pbfNil )
#else
#define CheckSSIB( pssib ) ((VOID) 0)
#endif