2 Bacula(R) - The Network Backup Solution
4 Copyright (C) 2000-2016 Kern Sibbald
6 The original author of Bacula is Kern Sibbald, with contributions
7 from many others, a complete list can be found in the file AUTHORS.
9 You may use this file and others of this release according to the
10 license defined in the LICENSE file, which includes the Affero General
11 Public License, v3.0 ("AGPLv3") and some additional permissions and
12 terms pursuant to its AGPLv3 Section 7.
14 This notice must be preserved when any source code is
15 conveyed and/or propagated.
17 Bacula(R) is a registered trademark of Kern Sibbald.
20 * attr.h Definition of attributes packet for unpacking from tape
22 * Kern Sibbald, June MMIII
31 int32_t stream; /* attribute stream id */
32 int32_t data_stream; /* id of data stream to follow */
33 int32_t type; /* file type FT */
34 int32_t file_index; /* file index */
35 int32_t LinkFI; /* file index to data if hard link */
36 int32_t delta_seq; /* delta sequence numbr */
37 uid_t uid; /* userid */
38 struct stat statp; /* decoded stat packet */
39 POOLMEM *attrEx; /* extended attributes if any */
40 POOLMEM *ofname; /* output filename */
41 POOLMEM *olname; /* output link name */
43 * Note the following three variables point into the
44 * current BSOCK record, so they are invalid after
45 * the next socket read!
47 char *attr; /* attributes position */
48 char *fname; /* filename */
49 char *lname; /* link name if any */
50 JCR *jcr; /* jcr pointer */
53 #endif /* __ATTR_H_ */