-} BSR_JOBLEVEL;
-
-typedef struct s_bsr_job {
- struct s_bsr_job *next;
- char *Job;
- int found;
-} BSR_JOB;
-
-
-typedef struct s_bsr {
- struct s_bsr *next; /* pointer to next one */
- int done; /* set when everything found */
- char *VolumeName;
- BSR_CLIENT *client;
- BSR_JOB *job;
- BSR_SESSID *sessid;
+};
+
+struct BSR_JOB {
+ BSR_JOB *next;
+ char Job[MAX_NAME_LENGTH];
+ bool done; /* local done */
+};
+
+struct BSR_STREAM {
+ BSR_STREAM *next;
+ int32_t stream; /* stream desired */
+};
+
+struct BSR {
+ BSR *next; /* pointer to next one */
+ BSR *root; /* root bsr */
+ bool reposition; /* set when any bsr is marked done */
+ bool mount_next_volume; /* set when next volume should be mounted */
+ bool done; /* set when everything found for this bsr */
+ bool use_fast_rejection; /* set if fast rejection can be used */
+ bool use_positioning; /* set if we can position the archive */
+ BSR_VOLUME *volume;
+ uint32_t count; /* count of files to restore this bsr */
+ uint32_t found; /* count of restored files this bsr */
+ BSR_VOLFILE *volfile;
+ BSR_VOLBLOCK *volblock;