Merge branch 'win32' into win32-3
[deb_libnfs.git] / include / libnfs.h
index c72b7cf537622ed29ea9a2b981d1d4d44fae6c3f..dd63f9623816f8b4a3d67b28ed89555e7af5048e 100644 (file)
@@ -611,6 +611,14 @@ struct nfsdirent  {
        struct nfsdirent *next;
        char *name;
        uint64_t inode;
+
+       /* some extra fields we get for free through the READDIRPLUS3 call. You need libnfs-raw-nfs.h for these */
+       uint32_t type; /* NF3REG, NF3DIR, NF3BLK, ... */
+       uint32_t mode;
+       uint64_t size;
+       struct timeval atime;
+       struct timeval mtime;
+       struct timeval ctime;
 };
 /*
  * nfs_readdir() never blocks, so no special sync/async versions are available