X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=device-src%2Fvfs-device.h;h=62442c470d9129b0ccd0a6da76d7be88c6216de0;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hp=515b0cc25f2b4b888ef58679619e2e121a2281cd;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e;p=debian%2Famanda diff --git a/device-src/vfs-device.h b/device-src/vfs-device.h index 515b0cc..62442c4 100644 --- a/device-src/vfs-device.h +++ b/device-src/vfs-device.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005-2008 Zmanda Inc. All Rights Reserved. + * Copyright (c) 2005-2008, 2010 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 @@ -46,10 +46,23 @@ typedef struct { char * dir_name; char * file_name; int open_file_fd; + gboolean leom; /* Properties */ guint64 volume_bytes; guint64 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; /*