X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Fdiskfile.h;h=aa485a5975f85745a5e05c15709524b6649296e9;hb=b221e8dc16f345f8c8d7df8df71f4d36daaabb4c;hp=5797a18ce262a115e4c8ab7fbd11ff4b1dadc250;hpb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;p=debian%2Famanda diff --git a/server-src/diskfile.h b/server-src/diskfile.h index 5797a18..aa485a5 100644 --- a/server-src/diskfile.h +++ b/server-src/diskfile.h @@ -110,7 +110,7 @@ typedef struct disk_s { char *clnt_decrypt_opt; /* client-side decryption option parameter to use */ double comprate[2]; /* default compression rates */ /* flag options */ - int record; /* record dump in /etc/dumpdates ? */ + int record; /* record dump in /var/lib/dumpdates ? */ int skip_incr; /* incs done externally ? */ int skip_full; /* fulls done externally ? */ int to_holdingdisk; /* use holding disk ? */ @@ -123,6 +123,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 +137,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);