types: remove the [u_]quad type and replace with [u]int64
[deb_libnfs.git] / nlm / libnfs-raw-nlm.h
index 15374e7b1cbaad5ff841ce92a80025f3366cf784..53635f5cfc34bd65126310a0a6d8fa119ac92149 100644 (file)
@@ -35,7 +35,7 @@ either expressed or implied, of the FreeBSD Project.
 #ifndef _NLM_H_RPCGEN
 #define _NLM_H_RPCGEN
 
-
+#include <nfsc/libnfs-zdr.h>
 
 
 #ifdef __cplusplus
@@ -79,8 +79,8 @@ struct nlm4_holder {
        uint32_t exclusive;
        u_int svid;
        nlm4_oh oh;
-       u_quad_t l_offset;
-       u_quad_t l_len;
+       uint64_t l_offset;
+       uint64_t l_len;
 };
 typedef struct nlm4_holder nlm4_holder;
 #define NLM_MAXNAME 256
@@ -90,8 +90,8 @@ struct nlm4_lock {
        struct nlm_fh4 fh;
        nlm4_oh oh;
        u_int svid;
-       u_quad_t l_offset;
-       u_quad_t l_len;
+       uint64_t l_offset;
+       uint64_t l_len;
 };
 typedef struct nlm4_lock nlm4_lock;