X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Fdiskfile.h;h=28ed50e8edcba795a9623252d1e49dc26b6b3874;hb=refs%2Ftags%2Fupstream%2F3.3.1;hp=e543f650185b6601ecfb84adb05e621884f0161c;hpb=cd0b924f27312d57bd42f6c4fae2b795139e2d0b;p=debian%2Famanda diff --git a/server-src/diskfile.h b/server-src/diskfile.h index e543f65..28ed50e 100644 --- a/server-src/diskfile.h +++ b/server-src/diskfile.h @@ -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 */ @@ -163,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