]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/dird_conf.h
Add new files
[bacula/bacula] / bacula / src / dird / dird_conf.h
index f9f28dca6c4f01491e27795d669b90ffc0c687d6..869343b245bd8bf6da8ccc15c5d9387dc5d2a21b 100644 (file)
@@ -194,6 +194,9 @@ struct JOB {
    int PruneVolumes;                  /* Force pruning of Volumes */
    int SpoolAttributes;               /* Set to spool attributes in SD */
    uint32_t MaxConcurrentJobs;        /* Maximume concurrent jobs */
+   int RescheduleOnError;             /* Set to reschedule on error */
+   int RescheduleTimes;               /* Number of times to reschedule job */
+   utime_t RescheduleInterval;        /* Reschedule interval */
   
    MSGS                *messages;     /* How and where to send messages */
    SCHED               *schedule;     /* When -- Automatic schedule */
@@ -271,8 +274,10 @@ struct COUNTER {
 
    int32_t MinValue;                  /* Minimum value */
    int32_t MaxValue;                  /* Maximum value */
-   int     Global;                    /* global/local */
-   char  *WrapCounter;                /* Wrap counter name */
+   int32_t CurrentValue;              /* Current value */
+   CAT   *WrapCounter;                /* Wrap counter name */
+   CAT   *Catalog;                    /* Where to store */
+   bool    created;                   /* Created in DB */
 };
 
 /*
@@ -282,7 +287,6 @@ struct COUNTER {
 struct POOL {
    RES   hdr;
 
-   COUNTER counter;                   /* Counter resources */
    char *pool_type;                   /* Pool type */
    char *label_format;                /* Label format string */
    char *cleaning_prefix;             /* Cleaning label prefix */