X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fjcr.h;h=8a47e2e6c36acbe29f2800004c8a2c1901a5c40b;hb=a55d20a08dc8c4a530bfb2011c7fcc8c8da217f6;hp=88217eeb260c6d854598ada4af9da2b188183683;hpb=7e4f21a4f818abe5ac5a5eef0552f56e0be9e235;p=bacula%2Fbacula diff --git a/bacula/src/jcr.h b/bacula/src/jcr.h index 88217eeb26..8a47e2e6c3 100644 --- a/bacula/src/jcr.h +++ b/bacula/src/jcr.h @@ -43,6 +43,7 @@ #define L_VERIFY_DISK_TO_CATALOG 'd' /* verify Disk attributes to catalog */ #define L_VERIFY_DATA 'A' /* verify data on volume */ #define L_BASE 'B' /* Base level job */ +#define L_NONE ' ' /* None, for Restore and Admin */ /* Job Types. These are stored in the DB */ @@ -252,9 +253,11 @@ struct JCR { * info on the last job run. */ struct s_last_job { + dlink link; int NumJobs; int JobType; int JobStatus; + int JobLevel; uint32_t JobId; uint32_t VolSessionId; uint32_t VolSessionTime; @@ -265,7 +268,8 @@ struct s_last_job { char Job[MAX_NAME_LENGTH]; }; -extern struct s_last_job last_job; +extern struct s_last_job last_job; +extern dlist *last_jobs; /* The following routines are found in lib/jcr.c */