home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / mach / amiga / scsi9091.lzh / cache.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-19  |  280 b   |  14 lines

  1. /*
  2.  * This stores one diskblock in our per-unit cache.
  3.  * A usage-count of -1 means, that the slot is free.
  4.  */
  5.  
  6. struct cache_cb {
  7.   long  ccb_usage;
  8.   ulong ccb_block_num;
  9.   ubyte ccb_buf[UNIT_SEC_SIZE];
  10. };
  11.  
  12. /* that many cache control blocks per unit */
  13. #define CCB_PER_UNIT 10
  14.