]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/volume.h
Merge master
[netatalk.git] / include / atalk / volume.h
index 615ecd631428a6c535f1c0e858291fc46841e6df..82de0420c95260b87757a79566daa84ee7e7437a 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef ATALK_VOLUME_H
 #define ATALK_VOLUME_H 1
 
+#include <stdint.h>
+#include <sys/cdefs.h>
 #include <sys/types.h>
 
 #include <atalk/unicode.h>
@@ -61,8 +63,9 @@ struct vol {
     char            *v_gvs;
     void            *v_nfsclient;
     int             v_nfs;
-    uintmax_t       v_tm_used;  /* used bytes on a TM volume */
-    uintmax_t       v_written;  /* amount of data written in afp_write, reset every time a FCE_TM_SIZE event is sent */
+    VolSpace        v_tm_used;  /* used bytes on a TM volume */
+    time_t          v_tm_cachetime; /* time at which v_tm_used was calculated last */
+    VolSpace        v_appended; /* amount of data appended to files */
     
     /* only when opening/closing volumes or in error */
     int             v_casefold;