]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored_conf.h
- Modified detection of largefiles to always set all flags regardless
[bacula/bacula] / bacula / src / stored / stored_conf.h
index 56e3aa60f39a472fb54725c016ac6bf51dd20842..2c4bc74bc756c4e8511880f9955c40148c9e69ae 100644 (file)
@@ -40,6 +40,7 @@ enum {
    R_BACKUP
 };
 
+
 /* Definition of the contents of each Resource */
 struct DIRRES {
    RES   hdr;
@@ -47,6 +48,7 @@ struct DIRRES {
    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 */
 };
 
 
@@ -54,10 +56,8 @@ struct DIRRES {
 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;
@@ -76,7 +76,9 @@ struct DEVRES {
    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 */