Want more features on Pastebin? Sign Up, it's FREE!

sector cache api

By: a guest on Jun 20th, 2010  |  syntax: C  |  size: 0.39 KB  |  views: 122  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /*
  2. The cache needs to be able to provide the following operating modes:
  3. - read sector(s) to an already allocated buffer
  4.   NOTE: we can provide an hint to cache whether the sectors should be cached or not if it's not already in the cache
  5. - write sectors(s) from an already filled buffer
  6.   NOTE: same remark
  7. - read a sector and lock a buffer to it
  8. - write a locked sector
  9. - unlock a sector
  10. */
clone this paste RAW Paste Data