1 /* Extended tar header from POSIX.1.
2 Copyright (C) 1992 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public
15 License along with this program; if not, write to the Free
16 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301 USA. */
25 /* Size of `name' field. */
26 #define TARNAMESIZE 100
28 /* Size of `linkname' field. */
29 #define TARLINKNAMESIZE 100
31 /* Size of `prefix' field. */
32 #define TARPREFIXSIZE 155
34 /* Size of entire tar header. */
35 #define TARRECORDSIZE 512
39 char name[TARNAMESIZE];
47 char linkname[TARLINKNAMESIZE];
54 char prefix[TARPREFIXSIZE];
59 struct tar_header header;
60 char buffer[TARRECORDSIZE];