Imported Upstream version 3.3.1
[debian/amanda] / server-src / diskfile.h
index 5797a18ce262a115e4c8ab7fbd11ff4b1dadc250..28ed50e8edcba795a9623252d1e49dc26b6b3874 100644 (file)
@@ -59,6 +59,7 @@ typedef struct amhost_s {
 
 typedef struct disk_s {
     int                line;                   /* line number of last definition */
+    char       *filename;               /* the filename where it is read */
     struct disk_s *prev, *next;                /* doubly linked disk list */
 
     am_host_t  *host;                  /* host list */
@@ -123,6 +124,7 @@ typedef struct disk_s {
     int                todo;
     char       *application;
     identlist_t pp_scriptlist;
+    host_limit_t *dump_limit;
     void       *up;                    /* generic user pointer */
 } disk_t;
 
@@ -136,6 +138,7 @@ typedef struct disklist_s {
  * value just as you would the return of config_init() */
 cfgerr_level_t read_diskfile(const char *, disklist_t *);
 
+am_host_t *get_hostlist(void);
 am_host_t *lookup_host(const char *hostname);
 disk_t *lookup_disk(const char *hostname, const char *diskname);
 
@@ -161,10 +164,11 @@ char *optionstr(disk_t *dp);
 GPtrArray *validate_optionstr(disk_t *dp);
 char *xml_optionstr(disk_t *dp, int to_server);
 char *xml_estimate(estimatelist_t estimatelist, am_feature_t *their_features);
-char *clean_dle_str_for_client(char *dle_str);
+char *clean_dle_str_for_client(char *dle_str, am_feature_t *their_features);
 char *xml_application(disk_t *dp, application_t *application,
                      am_feature_t *their_features);
 char *xml_scripts(identlist_t pp_scriptlist, am_feature_t *their_features);
+char *xml_dumptype_properties(disk_t *dp);
 
 /* disable_skip_disk() set the db->todo flag to 0 for each dle with 'ignore'
  * 'strategy skip'. It is useful for all programs that want to skip them,i