X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=nfs%2Fnfs.x;h=ca48c0305886d7cbf6ab25fccc5c59a52eee2fca;hp=579eef636e8334b943502e136c9d0ae06accfaff;hb=a0c4ea7d9f4ad7fab543c064c47be7d334a9ceda;hpb=390ff38ad1689f0708cdb18811b3b7d5d616cba7 diff --git a/nfs/nfs.x b/nfs/nfs.x index 579eef6..ca48c03 100644 --- a/nfs/nfs.x +++ b/nfs/nfs.x @@ -37,16 +37,7 @@ const NFS3_COOKIEVERFSIZE = 8; typedef opaque cookieverf3[NFS3_COOKIEVERFSIZE]; -/*unsigned hyper can be overridden by giving rpcgen -DU_INT64_PLATTFORM_TYPE=" - where rpcgen doesn't know anything about hyper - default to unsigned hyper as of rfc 1813 */ -#ifndef U_INT64_PLATTFORM_TYPE -#define U_INT64_PLATTFORM_TYPE unsigned hyper -#endif/*U_INT64_PLATTFORM_TYPE*/ - -typedef U_INT64_PLATTFORM_TYPE uint64; - -typedef uint64 cookie3; +typedef u_quad_t cookie3; struct nfs_fh3 { opaque data; @@ -75,9 +66,9 @@ typedef unsigned int uid3; typedef unsigned int gid3; -typedef uint64 size3; +typedef u_quad_t size3; -typedef uint64 fileid3; +typedef u_quad_t fileid3; struct specdata3 { unsigned int specdata1; @@ -98,7 +89,7 @@ struct fattr3 { size3 size; size3 used; specdata3 rdev; - uint64 fsid; + u_quad_t fsid; fileid3 fileid; nfstime3 atime; nfstime3 mtime; @@ -151,7 +142,7 @@ enum stable_how { FILE_SYNC = 2 }; -typedef uint64 offset3; +typedef u_quad_t offset3; typedef unsigned int count3;