t1506: factor out test for "Did you mean..."
[git/raj.git] / tar.h
blob3467705e9b0e14a0230473186079e83a582e4345
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'
8 struct ustar_header {
9 char name[100]; /* 0 */
10 char mode[8]; /* 100 */
11 char uid[8]; /* 108 */
12 char gid[8]; /* 116 */
13 char size[12]; /* 124 */
14 char mtime[12]; /* 136 */
15 char chksum[8]; /* 148 */
16 char typeflag[1]; /* 156 */
17 char linkname[100]; /* 157 */
18 char magic[6]; /* 257 */
19 char version[2]; /* 263 */
20 char uname[32]; /* 265 */
21 char gname[32]; /* 297 */
22 char devmajor[8]; /* 329 */
23 char devminor[8]; /* 337 */
24 char prefix[155]; /* 345 */