X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fjcr.h;h=ce54ef5464bfa84848670197cbc67a51e2feaec2;hb=a846aeb3b87fc11e906a521ca232cd57e82ef088;hp=16a4d7d2d8e491e8eebf90f553212cd770b7fc65;hpb=58b5b6b07a809e4d3a6812ebcaa80651eb9101c9;p=bacula%2Fbacula diff --git a/bacula/src/jcr.h b/bacula/src/jcr.h index 16a4d7d2d8..ce54ef5464 100644 --- a/bacula/src/jcr.h +++ b/bacula/src/jcr.h @@ -214,6 +214,7 @@ public: JCR_free_HANDLER *daemon_free_jcr; /* Local free routine */ dlist *msg_queue; /* Queued messages */ pthread_mutex_t msg_queue_mutex; /* message queue mutex */ + bool dequeuing_msgs; /* Set when dequeuing messages */ alist job_end_push; /* Job end pushed calls */ POOLMEM *VolumeName; /* Volume name desired -- pool_memory */ POOLMEM *errmsg; /* edited error message */ @@ -260,6 +261,10 @@ public: B_DB *db; /* database pointer */ B_DB *db_batch; /* database pointer for batch and accurate */ bool batch_started; /* is batch mode already started ? */ + bool HasBase; /* True if job use base jobs */ + uint64_t nb_base_files; /* Number of base files */ + uint64_t nb_base_files_used; /* Number of useful files in base */ + ATTR_DBR *ar; /* DB attribute record */ guid_list *id_list; /* User/group id to name list */ bool accurate; /* true if job is accurate */ @@ -297,6 +302,7 @@ public: bool run_full_pool_override; bool run_inc_pool_override; bool run_diff_pool_override; + bool sd_canceled; /* set if SD canceled */ FILESET *fileset; /* FileSet resource */ CAT *catalog; /* Catalog resource */ MSGS *messages; /* Default message handler */ @@ -343,6 +349,7 @@ public: bool stats_enabled; /* Keep all job records in a table for long term statistics */ bool no_maxtime; /* Don't check Max*Time for this JCR */ bool keep_sd_auth_key; /* Clear or not the SD auth key after connection*/ + bool use_accurate_chksum; /* Use or not checksum option in accurate code */ #endif /* DIRECTOR_DAEMON */ @@ -379,6 +386,7 @@ public: bool VSS; /* VSS used by FD */ bool multi_restore; /* Dir can do multiple storage restore */ htable *file_list; /* Previous file list (accurate mode) */ + uint64_t base_size; /* compute space saved with base job */ #endif /* FILE_DAEMON */