lintian doesn't like orphan packages with uploaders...
[debian/amanda] / device-src / vfs-device.h
index 515b0cc25f2b4b888ef58679619e2e121a2281cd..109f6cc649b725ace4cb4669416f28c117eea6b4 100644 (file)
@@ -1,9 +1,10 @@
 /*
- * Copyright (c) 2005-2008 Zmanda Inc.  All Rights Reserved.
+ * Copyright (c) 2005-2012 Zmanda Inc.  All Rights Reserved.
  *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License version 2.1 as
- * published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
@@ -46,10 +47,24 @@ typedef struct {
     char * dir_name;
     char * file_name;
     int open_file_fd;
+    gboolean leom;
 
     /* Properties */
     guint64 volume_bytes;
     guint64 volume_limit;
+    gboolean enforce_volume_limit;
+
+    /* should we monitor free space? (controlled by MONITOR_FREE_SPACE property) */
+    gboolean monitor_free_space;
+
+    /* how many bytes were free at last check */
+    guint64 checked_fs_free_bytes;
+
+    /* when was that check performed? */
+    time_t checked_fs_free_time;
+
+    /* and how many bytes have been written since the last check? */
+    guint64 checked_bytes_used;
 } VfsDevice;
 
 /*