2 * BootStrap record definition -- for restoring files.
4 * Kern Sibbald, June 2002
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,
33 #include "findlib/find.h"
36 * !!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
38 * !!! All records must have a pointer to !!!
39 * !!! the next item as the first item defined. !!!
41 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
44 typedef struct s_bsr_client {
45 struct s_bsr_client *next;
49 typedef struct s_bsr_sessid {
50 struct s_bsr_sessid *next;
56 typedef struct s_bsr_volfile {
57 struct s_bsr_volfile *next;
58 uint32_t sfile; /* start file */
59 uint32_t efile; /* end file */
64 typedef struct s_bsr_sesstime {
65 struct s_bsr_sesstime *next;
70 typedef struct s_bsr_findex {
71 struct s_bsr_findex *next;
72 int32_t findex; /* start file index */
73 int32_t findex2; /* end file index */
77 typedef struct s_bsr_jobid {
78 struct s_bsr_jobid *next;
84 typedef struct s_bsr_jobtype {
85 struct s_bsr_jobtype *next;
89 typedef struct s_bsr_joblevel {
90 struct s_bsr_joblevel *next;
94 typedef struct s_bsr_job {
95 struct s_bsr_job *next;
101 typedef struct s_bsr {
102 struct s_bsr *next; /* pointer to next one */
103 int done; /* set when everything found */
108 BSR_SESSTIME *sesstime;
109 BSR_FINDEX *FileIndex;
111 BSR_JOBTYPE *JobType;
112 BSR_JOBLEVEL *JobLevel;
113 BSR_VOLFILE *volfile;
114 FF_PKT *ff; /* include/exclude */