lintian doesn't like orphan packages with uploaders...
[debian/amanda] / common-src / tapelist.h
index 7d3e99bc2bc1787862e017d431cbded7faa6d1ff..97758e392df57d8db4bbf9880614f36bbce17d7b 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
@@ -24,7 +25,7 @@
  * file named AUTHORS, in the root directory of this distribution.
  */
 /*
- * $Id: tapelist.h,v 1.1 2005/10/11 01:17:00 vectro Exp $
+ * $Id: tapelist.h,v 1.2 2006/05/25 01:47:12 johnfranks Exp $
  *
  */
 
@@ -44,17 +45,19 @@ typedef struct tapelist_s {
     struct tapelist_s *next;
     char *label;
     int isafile; /* set to 1 and make *label the path to the file */
-    int *files;
+    off_t *files;
+    int   *partnum;
     int numfiles;
 } tapelist_t;
 
-extern int num_entries P((tapelist_t *tapelist));
-extern tapelist_t *append_to_tapelist P((tapelist_t *tapelist, char *label,
-                                       int file, int isafile));
-extern char *marshal_tapelist P((tapelist_t *tapelist, int escape));
-extern tapelist_t *unmarshal_tapelist_str P((char *tapelist_str));
-extern char *escape_label P((char *label));
-extern char *unescape_label P((char *label));
-extern void free_tapelist P((tapelist_t *tapelist));
-
+int num_entries(tapelist_t *tapelist);
+tapelist_t *append_to_tapelist(tapelist_t *tapelist, char *label,
+                                       off_t file, int partnum, int isafile);
+char *marshal_tapelist(tapelist_t *tapelist, int escape);
+tapelist_t *unmarshal_tapelist_str(char *tapelist_str);
+char *escape_label(char *label);
+char *unescape_label(char *label);
+void free_tapelist(tapelist_t *tapelist);
+void dump_tapelist(tapelist_t *);
 #endif /* !TAPELIST_H */