2 * BootStrap record definition -- for restoring files.
4 * Kern Sibbald, June 2002
10 Copyright (C) 2000-2003 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,
34 * List of Volume names to be read by Storage daemon.
35 * Formed by Storage daemon from BSR
39 char VolumeName[MAX_NAME_LENGTH];
46 * !!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
48 * !!! All records must have a pointer to !!!
49 * !!! the next item as the first item defined. !!!
51 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
56 char VolumeName[MAX_NAME_LENGTH];
61 char ClientName[MAX_NAME_LENGTH];
73 bool done; /* local done */
78 uint32_t sfile; /* start file */
79 uint32_t efile; /* end file */
80 bool done; /* local done */
85 uint32_t sblock; /* start block */
86 uint32_t eblock; /* end block */
87 bool done; /* local done */
93 int32_t findex; /* start file index */
94 int32_t findex2; /* end file index */
95 bool done; /* local done */
109 struct BSR_JOBLEVEL {
116 char Job[MAX_NAME_LENGTH];
117 bool done; /* local done */
122 int32_t stream; /* stream desired */
126 BSR *next; /* pointer to next one */
127 bool done; /* set when everything found */
128 bool use_fast_rejection; /* set if fast rejection can be used */
129 bool use_positioning; /* set if we can position the archive */
131 int32_t Slot; /* Slot */
132 uint32_t count; /* count of files to restore this bsr */
133 uint32_t found; /* count of restored files this bsr */
134 BSR_VOLFILE *volfile;
135 BSR_VOLBLOCK *volblock;
136 BSR_SESSTIME *sesstime;
141 BSR_FINDEX *FileIndex;
142 BSR_JOBTYPE *JobType;
143 BSR_JOBLEVEL *JobLevel;