]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dev.h
Add address and socket for MySQL
[bacula/bacula] / bacula / src / stored / dev.h
index bdf13ad35b425754dfc04bb08c613a6455e66e34..d2fd63c935af445667a13f37f42b4d0a3f94761d 100644 (file)
@@ -140,6 +140,7 @@ typedef struct s_steal_lock {
 /* Device structure definition */
 typedef struct s_device {
    struct s_device *next;             /* pointer to next open device */
+   struct s_device *prev;             /* pointer to prev open device */
    void *attached_jcrs;               /* attached JCR list */
    pthread_mutex_t mutex;             /* access control */
    pthread_cond_t wait;               /* thread wait variable */
@@ -170,7 +171,9 @@ typedef struct s_device {
    uint64_t volume_capacity;          /* advisory capacity */
    uint32_t max_rewind_wait;          /* max secs to allow for rewind */
    uint32_t max_open_wait;            /* max secs to allow for open */
+   uint32_t max_open_vols;            /* max simultaneous open volumes */
    void *device;                      /* pointer to Device Resource */
+   btimer_id tid;                     /* timer id */
 
    VOLUME_CAT_INFO VolCatInfo;        /* Volume Catalog Information */
    VOLUME_LABEL VolHdr;               /* Actual volume label */