diff rvinterf/etmsync/localstruct.h @ 282:517e8a428fde

fc-fsio: xlstat operation implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 25 Feb 2014 07:42:21 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rvinterf/etmsync/localstruct.h	Tue Feb 25 07:42:21 2014 +0000
@@ -0,0 +1,17 @@
+/*
+ * The struct defined below captures the results of a stat (actually xlstat)
+ * operation on the target; it is a host (aka local) struct, with host byte
+ * ordering, alignment and data types.
+ */
+
+struct stat_info {
+	u8	type;
+	u8	flags;
+	int	inode;
+	u32	size;     // size of data space occupied by object
+	u32	space;    // size of physical data space occupied by object
+	u32	location;
+	u8	block;
+	u16	sequence;
+	u16	updates;
+};