R_BACKUP
};
+
/* Definition of the contents of each Resource */
struct DIRRES {
RES hdr;
char *password; /* Director password */
char *address; /* Director IP address or zero */
int enable_ssl; /* Use SSL with this Director */
+ int monitor; /* Have only access to status and .status functions */
};
struct s_res_store {
RES hdr;
- char *address; /* deprecated */
- char *SDaddr; /* bind address */
- int SDport; /* Where we listen for Directors */
- int SDDport; /* "Data" port where we listen for File daemons */
+ dlist *sdaddrs;
+ dlist *sddaddrs;
char *working_directory; /* working directory for checkpoints */
char *pid_directory;
char *subsys_directory;
char *device_name; /* Archive device name */
char *changer_name; /* Changer device name */
char *changer_command; /* Changer command -- external program */
+ char *alert_command; /* Alert command -- external program */
char *spool_directory; /* Spool file directory */
+ uint32_t drive_index; /* Autochanger drive index */
uint32_t cap_bits; /* Capabilities of this device */
uint32_t max_changer_wait; /* Changer timeout */
uint32_t max_rewind_wait; /* maximum secs to wait for rewind */