2 * attr.h Definition of attributes packet for unpacking from tape
4 * Kern Sibbald, June MMIII
10 Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
12 This program is free software; you can redistribute it and/or
13 modify it under the terms of the GNU General Public License as
14 published by the Free Software Foundation; either version 2 of
15 the License, or (at your option) any later version.
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 General Public License for more details.
22 You should have received a copy of the GNU General Public
23 License along with this program; if not, write to the Free
24 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
30 int32_t stream; /* attribute stream id */
31 int32_t data_stream; /* id of data stream to follow */
32 int32_t type; /* file type FT */
33 int32_t file_index; /* file index */
34 int32_t LinkFI; /* file index to data if hard link */
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 */