aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-02 08:32:20 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-02 08:32:20 +0000
commit555214089c7045298f23fea9e060ea931804e75f (patch)
tree46a931f5ba6da92c9e350b808fee0f617e5d0f10 /src/fs/fs.h
parent56aff3f29aa8cabb5e085610f1df50d537de1d9d (diff)
downloadgnunet-555214089c7045298f23fea9e060ea931804e75f.tar.gz
gnunet-555214089c7045298f23fea9e060ea931804e75f.zip
trying to port statvfs call to BSD
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r--src/fs/fs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h
index b3bf24e2a..838d74a2a 100644
--- a/src/fs/fs.h
+++ b/src/fs/fs.h
@@ -1860,13 +1860,18 @@ struct IndexStartMessage
1860 struct GNUNET_MessageHeader header; 1860 struct GNUNET_MessageHeader header;
1861 1861
1862 /** 1862 /**
1863 * For alignment.
1864 */
1865 uint32_t reserved GNUNET_PACKED;
1866
1867 /**
1863 * ID of device containing the file, as seen by the client. This 1868 * ID of device containing the file, as seen by the client. This
1864 * device ID is obtained using a call like "statvfs" (and converting 1869 * device ID is obtained using a call like "statvfs" (and converting
1865 * the "f_fsid" field to a 32-bit big-endian number). Use 0 if the 1870 * the "f_fsid" field to a 32-bit big-endian number). Use 0 if the
1866 * OS does not support this, in which case the service must do a 1871 * OS does not support this, in which case the service must do a
1867 * full hash recomputation. 1872 * full hash recomputation.
1868 */ 1873 */
1869 uint32_t device GNUNET_PACKED; 1874 uint64_t device GNUNET_PACKED;
1870 1875
1871 /** 1876 /**
1872 * Inode of the file on the given device, as seen by the client 1877 * Inode of the file on the given device, as seen by the client