X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Famandates.h;h=ff95de9190fb360d2cec61bc3ac8577104bcc52e;hb=bd1ae9014cb0c6d1e012ddb8a15d243458cf649c;hp=8cf5bba4f9df13972dbfef2c393930f6eadbb31a;hpb=3ab887b9bc819a846c75dd7f2ee5d41fac22b19f;p=debian%2Famanda diff --git a/client-src/amandates.h b/client-src/amandates.h index 8cf5bba..ff95de9 100644 --- a/client-src/amandates.h +++ b/client-src/amandates.h @@ -24,7 +24,7 @@ * file named AUTHORS, in the root directory of this distribution. */ /* - * $Id: amandates.h,v 1.3 1998/07/04 00:18:10 oliva Exp $ + * $Id: amandates.h,v 1.5 2006/07/25 18:35:21 martinea Exp $ * * interface for amandates file */ @@ -33,23 +33,18 @@ #include "amanda.h" -#define DUMP_LEVELS 10 /* XXX should be in amanda.h */ #define EPOCH ((time_t)0) -#ifndef AMANDATES_FILE -#define AMANDATES_FILE "/etc/amandates" -#endif - typedef struct amandates_s { struct amandates_s *next; char *name; /* filesystem name */ time_t dates[DUMP_LEVELS]; /* dump dates */ } amandates_t; -int start_amandates P((int open_readwrite)); -void finish_amandates P((void)); -void free_amandates P((void)); -amandates_t *amandates_lookup P((char *name)); -void amandates_updateone P((char *name, int level, time_t dumpdate)); +int start_amandates (char *amandates_file, int open_readwrite); +void finish_amandates (void); +void free_amandates (void); +amandates_t *amandates_lookup (char *name); +void amandates_updateone (char *name, int level, time_t dumpdate); #endif /* ! AMANDATES_H */