Advertisement
iklio

Untitled

Jan 25th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. PACK_START
  2. struct FS_Node {
  3.     uint64_t size;
  4.     uint64_t timestamp;
  5.     uint8_t  sha1[20];
  6.     uint8_t  md5[16];
  7.     uint8_t  crc32[4];
  8.  
  9.     // offsets to other nodes:
  10.     uint64_t parentOffset;
  11.     uint64_t childOffset;
  12.     uint64_t siblingNextOffset;
  13.     uint64_t siblingPrevOffset;
  14.     uint64_t sameCrc32;
  15.     uint64_t sameMd5;
  16.     uint64_t sameSha1;
  17.     uint64_t sameFilename;
  18.  
  19.     uint8_t  flags;
  20.     uint8_t  type;
  21.     uint16_t pathLength;
  22.     char     path[1];
  23. }
  24. PACK_END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement