repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NFS: Add new function signatures for rpc_nfs3_ that takes *3args arguments
[deb_libnfs.git]
/
nfs
/
libnfs-raw-nfs.h
diff --git
a/nfs/libnfs-raw-nfs.h
b/nfs/libnfs-raw-nfs.h
index c2c2f9a0362ec180b83877056e96257df9223e60..fa87089a23eaf573516575667c78e76ca4c31f93 100644
(file)
--- a/
nfs/libnfs-raw-nfs.h
+++ b/
nfs/libnfs-raw-nfs.h
@@
-5,6
+5,7
@@
#ifndef _NFS_H_RPCGEN
#define _NFS_H_RPCGEN
#ifndef _NFS_H_RPCGEN
#define _NFS_H_RPCGEN
+#include <nfsc/libnfs-zdr.h>
@@
-18,6
+19,15
@@
extern "C" {
#define NFS3_CREATEVERFSIZE 8
#define NFS3_COOKIEVERFSIZE 8
#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 uint64;
typedef char cookieverf3[NFS3_COOKIEVERFSIZE];
typedef u_quad_t uint64;