repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
061d3f1
)
NFS.X: Change all uint32/uint32_t to the standard type 'unsigned int'
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 11 Jun 2012 07:12:53 +0000
(17:12 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 11 Jun 2012 07:14:21 +0000
(17:14 +1000)
nfs/nfs.x
patch
|
blob
|
blame
|
history
diff --git
a/nfs/nfs.x
b/nfs/nfs.x
index 31f378ba2556467f3a42f0cd4847c0a04043c5b1..c259aa6e3cf3ff6dc7b96f3d34dc60b095f1951c 100644
(file)
--- a/
nfs/nfs.x
+++ b/
nfs/nfs.x
@@
-39,44
+39,40
@@
enum ftype3 {
NF3FIFO = 7
};
NF3FIFO = 7
};
-typedef unsigned
long uint32
;
+typedef unsigned
int mode3
;
-typedef
long int32
;
+typedef
unsigned int uid3
;
-typedef uint32 mode3;
-
-typedef uint32 uid3;
-
-typedef uint32 gid3;
+typedef unsigned int gid3;
typedef uint64 size3;
typedef uint64 fileid3;
struct specdata3 {
typedef uint64 size3;
typedef uint64 fileid3;
struct specdata3 {
- u
int32
specdata1;
- u
int32
specdata2;
+ u
nsigned int
specdata1;
+ u
nsigned int
specdata2;
};
struct nfstime3 {
};
struct nfstime3 {
- u
int32
seconds;
- u
int32
nseconds;
+ u
nsigned int
seconds;
+ u
nsigned int
nseconds;
};
struct fattr3 {
};
struct fattr3 {
- ftype3 type;
- mode3 mode;
- u
int32
nlink;
- uid3 uid;
- gid3 gid;
- size3 size;
- size3 used;
- specdata3 rdev;
- uint64 fsid;
- fileid3 fileid;
- nfstime3 atime;
- nfstime3 mtime;
- nfstime3 ctime;
+ ftype3
type;
+ mode3
mode;
+ u
nsigned int
nlink;
+ uid3
uid;
+ gid3
gid;
+ size3
size;
+ size3
used;
+ specdata3
rdev;
+ uint64
fsid;
+ fileid3
fileid;
+ nfstime3
atime;
+ nfstime3
mtime;
+ nfstime3
ctime;
};
union post_op_attr switch (bool attributes_follow) {
};
union post_op_attr switch (bool attributes_follow) {
@@
-127,7
+123,7
@@
enum stable_how {
typedef uint64 offset3;
typedef uint64 offset3;
-typedef u
int32
count3;
+typedef u
nsigned int
count3;
struct wcc_attr {
size3 size;
struct wcc_attr {
size3 size;
@@
-228,13
+224,13
@@
const ACCESS3_DELETE = 0x0010;
const ACCESS3_EXECUTE = 0x0020;
struct ACCESS3args {
const ACCESS3_EXECUTE = 0x0020;
struct ACCESS3args {
- nfs_fh3 object;
- u
int32
access;
+ nfs_fh3
object;
+ u
nsigned int
access;
};
struct ACCESS3resok {
};
struct ACCESS3resok {
- post_op_attr
obj_attributes;
- u
int32
access;
+ post_op_attr obj_attributes;
+ u
nsigned int
access;
};
struct ACCESS3resfail {
};
struct ACCESS3resfail {
@@
-424,16
+420,16
@@
struct FSINFO3args {
struct FSINFO3resok {
post_op_attr obj_attributes;
struct FSINFO3resok {
post_op_attr obj_attributes;
- u
int32
rtmax;
- u
int32
rtpref;
- u
int32
rtmult;
- u
int32
wtmax;
- u
int32
wtpref;
- u
int32
wtmult;
- u
int32
dtpref;
+ u
nsigned int
rtmax;
+ u
nsigned int
rtpref;
+ u
nsigned int
rtmult;
+ u
nsigned int
wtmax;
+ u
nsigned int
wtpref;
+ u
nsigned int
wtmult;
+ u
nsigned int
dtpref;
size3 maxfilesize;
nfstime3 time_delta;
size3 maxfilesize;
nfstime3 time_delta;
- u
int32
properties;
+ u
nsigned int
properties;
};
struct FSINFO3resfail {
};
struct FSINFO3resfail {
@@
-460,7
+456,7
@@
struct FSSTAT3resok {
size3 tfiles;
size3 ffiles;
size3 afiles;
size3 tfiles;
size3 ffiles;
size3 afiles;
- u
int32
invarsec;
+ u
nsigned int
invarsec;
};
struct FSSTAT3resfail {
};
struct FSSTAT3resfail {
@@
-480,8
+476,8
@@
struct PATHCONF3args {
struct PATHCONF3resok {
post_op_attr obj_attributes;
struct PATHCONF3resok {
post_op_attr obj_attributes;
- u
int32
linkmax;
- u
int32
name_max;
+ u
nsigned int
linkmax;
+ u
nsigned int
name_max;
bool no_trunc;
bool chown_restricted;
bool case_insensitive;
bool no_trunc;
bool chown_restricted;
bool case_insensitive;
@@
-878,8
+874,8
@@
const NFSACL_PERM_EXEC = 0x01;
struct nfsacl_ace {
enum nfsacl_type type;
struct nfsacl_ace {
enum nfsacl_type type;
- u
int32_
t id;
- u
int32_
t perm;
+ u
nsigned in
t id;
+ u
nsigned in
t perm;
};
const NFSACL_MASK_ACL_ENTRY = 0x0001;
};
const NFSACL_MASK_ACL_ENTRY = 0x0001;
@@
-888,17
+884,17
@@
const NFSACL_MASK_ACL_DEFAULT_ENTRY = 0x0004;
const NFSACL_MASK_ACL_DEFAULT_COUNT = 0x0008;
struct GETACL3args {
const NFSACL_MASK_ACL_DEFAULT_COUNT = 0x0008;
struct GETACL3args {
- nfs_fh3 dir;
- u
int32
mask;
+ nfs_fh3
dir;
+ u
nsigned int
mask;
};
struct GETACL3resok {
};
struct GETACL3resok {
- post_op_attr attr;
- u
int32_
t mask;
- u
int32_
t ace_count;
- struct nfsacl_ace ace<>;
- u
int32_
t default_ace_count;
- struct nfsacl_ace default_ace<>;
+ post_op_attr
attr;
+ u
nsigned in
t mask;
+ u
nsigned in
t ace_count;
+ struct nfsacl_ace
ace<>;
+ u
nsigned in
t default_ace_count;
+ struct nfsacl_ace
default_ace<>;
};
union GETACL3res switch (nfsstat3 status) {
};
union GETACL3res switch (nfsstat3 status) {
@@
-909,12
+905,12
@@
default:
};
struct SETACL3args {
};
struct SETACL3args {
- nfs_fh3 dir;
- u
int32_
t mask;
- u
int32_
t ace_count;
- struct nfsacl_ace ace<>;
- u
int32_
t default_ace_count;
- struct nfsacl_ace default_ace<>;
+ nfs_fh3
dir;
+ u
nsigned in
t mask;
+ u
nsigned in
t ace_count;
+ struct nfsacl_ace
ace<>;
+ u
nsigned in
t default_ace_count;
+ struct nfsacl_ace
default_ace<>;
};
struct SETACL3resok {
};
struct SETACL3resok {