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_sesstime {
57 struct s_bsr_sesstime *next;
62 typedef struct s_bsr_volfile {
63 struct s_bsr_volfile *next;
64 uint32_t sfile; /* start file */
65 uint32_t efile; /* end file */
69 typedef struct s_bsr_findex {
70 struct s_bsr_findex *next;
71 int32_t findex; /* start file index */
72 int32_t findex2; /* end file index */
76 typedef struct s_bsr_jobid {
77 struct s_bsr_jobid *next;
83 typedef struct s_bsr_jobtype {
84 struct s_bsr_jobtype *next;
88 typedef struct s_bsr_joblevel {
89 struct s_bsr_joblevel *next;
93 typedef struct s_bsr_job {
94 struct s_bsr_job *next;
100 typedef struct s_bsr {
101 struct s_bsr *next; /* pointer to next one */
102 int done; /* set when everything found */
104 BSR_VOLFILE *volfile;
105 BSR_SESSTIME *sesstime;
110 BSR_FINDEX *FileIndex;
111 BSR_JOBTYPE *JobType;
112 BSR_JOBLEVEL *JobLevel;
113 FF_PKT *ff; /* include/exclude */