X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=nfs%2Flibnfs-raw-nfs.h;fp=nfs%2Flibnfs-raw-nfs.h;h=a3b60f566d52bdd8e26b6a1dede106fd8a0d6c77;hp=835029e7ff4c88f1d8770586514d2339a37c437f;hb=816d06fd09beb1a4ccbe2c97d2007b489366ab69;hpb=69386db2eb9172a34fa37d2821edb485a44f7dee diff --git a/nfs/libnfs-raw-nfs.h b/nfs/libnfs-raw-nfs.h index 835029e..a3b60f5 100644 --- a/nfs/libnfs-raw-nfs.h +++ b/nfs/libnfs-raw-nfs.h @@ -48,18 +48,11 @@ extern "C" { #define NFS3_CREATEVERFSIZE 8 #define NFS3_COOKIEVERFSIZE 8 -#if defined(ANDROID) -typedef long long int quad_t; -typedef long long unsigned u_quad_t; -#endif -#if defined(WIN32) -typedef long long int quad_t; -typedef long long unsigned u_quad_t; -#endif + typedef char cookieverf3[NFS3_COOKIEVERFSIZE]; -typedef u_quad_t cookie3; +typedef uint64_t cookie3; struct nfs_fh3 { struct { @@ -94,9 +87,9 @@ typedef u_int uid3; typedef u_int gid3; -typedef u_quad_t size3; +typedef uint64_t size3; -typedef u_quad_t fileid3; +typedef uint64_t fileid3; struct specdata3 { u_int specdata1; @@ -119,7 +112,7 @@ struct fattr3 { size3 size; size3 used; specdata3 rdev; - u_quad_t fsid; + uint64_t fsid; fileid3 fileid; nfstime3 atime; nfstime3 mtime; @@ -175,7 +168,7 @@ enum stable_how { }; typedef enum stable_how stable_how; -typedef u_quad_t offset3; +typedef uint64_t offset3; typedef u_int count3;