You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
619 B
29 lines
619 B
//
|
|
// 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
|
|
};
|
|
|
|
|
|
#define SetupSSIB( pssibT, ppibUser ) \
|
|
{ \
|
|
(pssibT)->pbf = pbfNil; \
|
|
(pssibT)->ppib = ppibUser; \
|
|
}
|
|
|
|
#define SSIBSetDbid( pssib, dbid )
|
|
#define SSIBSetPgno( pssib, pgno )
|
|
|
|
#ifdef DEBUG
|
|
#define CheckSSIB( pssib ) \
|
|
Assert( pssib->pbf != pbfNil )
|
|
#else
|
|
#define CheckSSIB( pssib ) ((VOID) 0)
|
|
#endif
|
|
|