X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fjcr.h;h=ce54ef5464bfa84848670197cbc67a51e2feaec2;hb=a846aeb3b87fc11e906a521ca232cd57e82ef088;hp=d35d623c1ae39bd474e5292ec5a6a86357e6cea3;hpb=94ed37ea6172925acc34a97105065bb34bfc614d;p=bacula%2Fbacula diff --git a/bacula/src/jcr.h b/bacula/src/jcr.h index d35d623c1a..ce54ef5464 100644 --- a/bacula/src/jcr.h +++ b/bacula/src/jcr.h @@ -213,8 +213,9 @@ public: BSOCK *file_bsock; /* File daemon connection socket */ 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 */ - bool dequeuing; /* dequeuing messages */ POOLMEM *VolumeName; /* Volume name desired -- pool_memory */ POOLMEM *errmsg; /* edited error message */ char Job[MAX_NAME_LENGTH]; /* Unique name of this Job */ @@ -301,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 */ @@ -347,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 */ @@ -419,6 +422,7 @@ public: alist *reserve_msgs; /* reserve fail messages */ bool write_part_after_job; /* Set to write part after job */ bool PreferMountedVols; /* Prefer mounted vols rather than new */ + bool Resched; /* Job may be rescheduled */ /* Parmaters for Open Read Session */ BSR *bsr; /* Bootstrap record -- has everything */