2 Bacula® - The Network Backup Solution
4 Copyright (C) 2003-2014 Free Software Foundation Europe e.V.
6 The main author of Bacula is Kern Sibbald, with contributions from many
7 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 Bacula® is a registered trademark of Kern Sibbald.
17 * attr.h Definition of attributes packet for unpacking from tape
19 * Kern Sibbald, June MMIII
28 int32_t stream; /* attribute stream id */
29 int32_t data_stream; /* id of data stream to follow */
30 int32_t type; /* file type FT */
31 int32_t file_index; /* file index */
32 int32_t LinkFI; /* file index to data if hard link */
33 int32_t delta_seq; /* delta sequence numbr */
34 uid_t uid; /* userid */
35 struct stat statp; /* decoded stat packet */
36 POOLMEM *attrEx; /* extended attributes if any */
37 POOLMEM *ofname; /* output filename */
38 POOLMEM *olname; /* output link name */
40 * Note the following three variables point into the
41 * current BSOCK record, so they are invalid after
42 * the next socket read!
44 char *attr; /* attributes position */
45 char *fname; /* filename */
46 char *lname; /* link name if any */
47 JCR *jcr; /* jcr pointer */
50 #endif /* __ATTR_H_ */