Source code of Windows XP (NT5)
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.

33 lines
807 B

  1. //=========== DAE: OS/2 Database Access Engine =================
  2. //=========== ssib.h: Storage System Interface Block =================
  3. //
  4. // Storage System Interface Block
  5. //
  6. struct _ssib
  7. {
  8. struct _pib *ppib; // process using this SSIB
  9. struct _bf *pbf; // ptr to page that cusr on, or pbcbNil
  10. LINE line; // cb/pb of current record
  11. INT itag; // current line
  12. BOOL fDisableAssert;
  13. };
  14. #define SetupSSIB( pssibT, ppibUser ) \
  15. { \
  16. (pssibT)->pbf = pbfNil; \
  17. (pssibT)->ppib = ppibUser; \
  18. (pssibT)->fDisableAssert = fFalse; \
  19. }
  20. #define SSIBSetDbid( pssib, dbid )
  21. #define SSIBSetPgno( pssib, pgno )
  22. #ifdef DEBUG
  23. #define CheckSSIB( pssib ) \
  24. Assert( pssib->pbf != pbfNil )
  25. #else
  26. #define CheckSSIB( pssib ) ((VOID) 0)
  27. #endif
  28.