/* 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 */
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 */