X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fnfsc%2Flibnfs.h;h=81750db3ec0189ba14fd1f83f82c4f05985fa739;hb=7bda8bad0057c258f90952f67a42f6dd95b860de;hp=3ca48e4439e6cdcc0402ae25d00bdda5b33500e7;hpb=2452c57f9ba2d2e81f84111fae5b0cb1cf285bd4;p=deb_libnfs.git diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h index 3ca48e4..81750db 100644 --- a/include/nfsc/libnfs.h +++ b/include/nfsc/libnfs.h @@ -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