X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=include%2Flibnfs.h;h=dd63f9623816f8b4a3d67b28ed89555e7af5048e;hp=c72b7cf537622ed29ea9a2b981d1d4d44fae6c3f;hb=41d82d7d825b9b4e73bb227f5b2fafa86067cba0;hpb=5733b1e17ec6d5cd2527945a8b940977e52c80b4 diff --git a/include/libnfs.h b/include/libnfs.h index c72b7cf..dd63f96 100644 --- a/include/libnfs.h +++ b/include/libnfs.h @@ -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