Cache structure


General format:

  • Key
  • expiration time
  • data size
  • data pointer


  • Serial number (8 bytes)
  • pointer to data structure. Either:

    • filetype pointer
    • connection_in pointer
    • character pointer
  • integer
Record type Serial number Union extension time limit data size data value
Data value device ID filetype * extension (if an array) volatile/stable data size pointer to data value
Directory entry ID of DS2409 device/branch or 0 for root pointer to connection_in * index in directory directory timeout 8 bytes serial number
Device presence device ID NULL "-1" directory timeout sizeof(int) pointer to bus number

Previous page: Remote cache
Next page: Errors