summaryrefslogtreecommitdiffstats
path: root/guestfs-structs.pod
diff options
context:
space:
mode:
Diffstat (limited to 'guestfs-structs.pod')
-rw-r--r--guestfs-structs.pod49
1 files changed, 49 insertions, 0 deletions
diff --git a/guestfs-structs.pod b/guestfs-structs.pod
index 31b9ff28..dd6b0ed2 100644
--- a/guestfs-structs.pod
+++ b/guestfs-structs.pod
@@ -85,3 +85,52 @@
void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);
+=head2 guestfs_stat
+
+ struct guestfs_stat {
+ int64_t dev;
+ int64_t ino;
+ int64_t mode;
+ int64_t nlink;
+ int64_t uid;
+ int64_t gid;
+ int64_t rdev;
+ int64_t size;
+ int64_t blksize;
+ int64_t blocks;
+ int64_t atime;
+ int64_t mtime;
+ int64_t ctime;
+ };
+
+=head2 guestfs_statvfs
+
+ struct guestfs_statvfs {
+ int64_t bsize;
+ int64_t frsize;
+ int64_t blocks;
+ int64_t bfree;
+ int64_t bavail;
+ int64_t files;
+ int64_t ffree;
+ int64_t favail;
+ int64_t fsid;
+ int64_t flag;
+ int64_t namemax;
+ };
+
+=head2 guestfs_dirent
+
+ struct guestfs_dirent {
+ int64_t ino;
+ char ftyp;
+ char *name;
+ };
+
+ struct guestfs_dirent_list {
+ uint32_t len; /* Number of elements in list. */
+ struct guestfs_dirent *val; /* Elements. */
+ };
+
+ void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);
+