X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfs-structs.pod;h=dd6b0ed23bc103b4e66568b7e3380c57df2bff8e;hp=31b9ff2821c572e450225b157a44ffbf0ac9a501;hb=da85ed425dc828ef4b8817f64d448101a88507b5;hpb=73d6932ab2dd3f9120a1f4a532621c07cb174705 diff --git a/guestfs-structs.pod b/guestfs-structs.pod index 31b9ff2..dd6b0ed 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 *); +