THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
git
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.

26 lines
644B

  1. #define TYPEFLAG_AUTO '\0'
  2. #define TYPEFLAG_REG '0'
  3. #define TYPEFLAG_LNK '2'
  4. #define TYPEFLAG_DIR '5'
  5. #define TYPEFLAG_GLOBAL_HEADER 'g'
  6. #define TYPEFLAG_EXT_HEADER 'x'
  7. struct ustar_header {
  8. char name[100]; /* 0 */
  9. char mode[8]; /* 100 */
  10. char uid[8]; /* 108 */
  11. char gid[8]; /* 116 */
  12. char size[12]; /* 124 */
  13. char mtime[12]; /* 136 */
  14. char chksum[8]; /* 148 */
  15. char typeflag[1]; /* 156 */
  16. char linkname[100]; /* 157 */
  17. char magic[6]; /* 257 */
  18. char version[2]; /* 263 */
  19. char uname[32]; /* 265 */
  20. char gname[32]; /* 297 */
  21. char devmajor[8]; /* 329 */
  22. char devminor[8]; /* 337 */
  23. char prefix[155]; /* 345 */
  24. };