lintian doesn't like orphan packages with uploaders...
[debian/amanda] / server-src / tapefile.h
index 875ab51e211b2e4111007430f66b09d78df4823f..55d2ca5144bab672980b1d3d3506bfe01985e277 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
@@ -25,7 +26,7 @@
  *                        University of Maryland at College Park
  */
 /*
- * $Id: tapefile.h,v 1.6 1998/09/11 23:25:32 jrj Exp $
+ * $Id: tapefile.h,v 1.9 2006/05/25 01:47:20 johnfranks Exp $
  *
  * interface for active tape list manipulation routines
  */
 typedef struct tape_s {
     struct tape_s *next, *prev;
     int position;
-    int datestamp;
+    char * datestamp;
     int reuse;
     char *label;
+    char *barcode;
+    char *meta;
+    guint64 blocksize;
+    char *comment;
 } tape_t;
 
-int read_tapelist P((char *tapefile));
-int write_tapelist P((char *tapefile));
-void clear_tapelist P((void));
-tape_t *lookup_tapelabel P((char *label));
-tape_t *lookup_tapepos P((int pos));
-tape_t *lookup_tapedate P((int datestamp));
-int lookup_nb_tape P(());
-tape_t *lookup_last_reusable_tape P((int skip));
-void remove_tapelabel P((char *label));
-tape_t *add_tapelabel P((int datestamp, char *label));
-int reusable_tape P((tape_t *tp));
+int read_tapelist(char *tapefile);
+int write_tapelist(char *tapefile);
+void clear_tapelist(void);
+tape_t *lookup_tapelabel(const char *label);
+tape_t *lookup_tapepos(int pos);
+tape_t *lookup_tapedate(char *datestamp);
+int lookup_nb_tape(void);
+char *get_last_reusable_tape_label(int skip);
+tape_t *lookup_last_reusable_tape(int skip);
+void remove_tapelabel(char *label);
+tape_t *add_tapelabel(char *datestamp, char *label, char *comment);
+int reusable_tape(tape_t *tp);
 
-int guess_runs_from_tapelist P((void));
+int guess_runs_from_tapelist(void);
+char *list_new_tapes(int nb);
+void print_new_tapes(FILE *output, int nb);
 
 #endif /* !TAPEFILE_H */