X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Ffiled%2Frestore.h;h=bb4cfac92d925615574bedd68c39caabdf5e08be;hb=00662d0a94aa70545dc6497a4ddc1a6f9a70083d;hp=d39b695bc101652c5d07d334c88251c7f4f5c396;hpb=b5db61d8cb9075592caf167e8b23fe5f6be125e8;p=bacula%2Fbacula diff --git a/bacula/src/filed/restore.h b/bacula/src/filed/restore.h index d39b695bc1..bb4cfac92d 100644 --- a/bacula/src/filed/restore.h +++ b/bacula/src/filed/restore.h @@ -40,15 +40,17 @@ struct RESTORE_CIPHER_CTX { struct r_ctx { JCR *jcr; - int32_t stream; - int32_t prev_stream; + int32_t stream; /* stream less new bits */ + int32_t prev_stream; /* previous stream */ + int32_t full_stream; /* full stream including new bits */ + int32_t comp_stream; /* last compressed stream found. needed only to restore encrypted compressed backup */ BFILE bfd; /* File content */ uint64_t fileAddr; /* file write address */ uint32_t size; /* Size of file */ int flags; /* Options for extract_data() */ BFILE forkbfd; /* Alternative data stream */ uint64_t fork_addr; /* Write address for alternative stream */ - intmax_t fork_size; /* Size of alternate stream */ + int64_t fork_size; /* Size of alternate stream */ int fork_flags; /* Options for extract_data() */ int32_t type; /* file type FT_ */ ATTR *attr; /* Pointer to attributes */