Add uid/gid to the stat data returned in the readdir directoryentry
[deb_libnfs.git] / include / nfsc / libnfs.h
index 3ca48e4439e6cdcc0402ae25d00bdda5b33500e7..81750db3ec0189ba14fd1f83f82c4f05985fa739 100644 (file)
@@ -690,13 +690,16 @@ struct nfsdirent  {
        char *name;
        uint64_t inode;
 
-       /* some extra fields we get for free through the READDIRPLUS3 call. You need libnfs-raw-nfs.h for these */
+       /* Some extra fields we get for free through the READDIRPLUS3 call.
+         You need libnfs-raw-nfs.h for type/mode constants */
        uint32_t type; /* NF3REG, NF3DIR, NF3BLK, ... */
        uint32_t mode;
        uint64_t size;
        struct timeval atime;
        struct timeval mtime;
        struct timeval ctime;
+       uint32_t uid;
+       uint32_t gid;
 };
 /*
  * nfs_readdir() never blocks, so no special sync/async versions are available