lintian doesn't like orphan packages with uploaders...
[debian/amanda] / server-src / disk_history.h
index 71d9866fb8c26ac8e1a932b935632720b8c99c8c..774ea3f5b672b78995f661784e0eead7ac5da078 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Amanda, The Advanced Maryland Automatic Network Disk Archiver
  * Copyright (c) 1991-1998 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc.  All Rights Reserved.
  * All Rights Reserved.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -37,9 +38,11 @@ typedef struct DUMP_ITEM
     char date[20];
     int  level;
     int  is_split;
+    int  maxpart;
     char tape[256];
     tapelist_t *tapes;
     off_t  file;
+    char *hostname;
 
     struct DUMP_ITEM *next;
 }
@@ -48,6 +51,8 @@ DUMP_ITEM;
 #define next_dump(item)        ((item)->next)
 
 extern void clear_list(void);
-extern void add_dump(char *date, int level, char *tape, off_t file, int partnum);
+extern void add_dump(char *hostname, char *date, int level, char *tape,
+                    off_t file, int partnum, int maxpart);
+extern void clean_dump(void);
 extern DUMP_ITEM *first_dump(void);
 #endif /* !DISK_HISTORY_H */