From: Ronnie Sahlberg Date: Sat, 5 Jul 2014 16:07:23 +0000 (-0700) Subject: RPC: get rid of bool_t X-Git-Tag: upstream/1.9.6^2~23^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=af8d37c8b703f3dc22d3ff1c7578b16e84c25050;p=deb_libnfs.git RPC: get rid of bool_t Signed-off-by: Ronnie Sahlberg --- diff --git a/mount/Makefile.am b/mount/Makefile.am index 13cbaf4..6daa808 100644 --- a/mount/Makefile.am +++ b/mount/Makefile.am @@ -19,6 +19,6 @@ mount-stamp : mount.x compile_rpc: cat mount.x | head -29 >libnfs-raw-mount.h - rpcgen -h mount.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" >> libnfs-raw-mount.h + rpcgen -h mount.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" -e "s/bool_t/uint32_t/g" >> libnfs-raw-mount.h cat mount.x | head -29 >libnfs-raw-mount.c - rpcgen -c mount.x | sed -e "s/#include \".*mount.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-mount.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" >> libnfs-raw-mount.c + rpcgen -c mount.x | sed -e "s/#include \".*mount.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-mount.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" -e "s/bool_t/uint32_t/g" >> libnfs-raw-mount.c diff --git a/mount/libnfs-raw-mount.c b/mount/libnfs-raw-mount.c index 0a70d43..f47064c 100644 --- a/mount/libnfs-raw-mount.c +++ b/mount/libnfs-raw-mount.c @@ -35,7 +35,7 @@ either expressed or implied, of the FreeBSD Project. #include "libnfs-zdr.h" #include "libnfs-raw-mount.h" -bool_t +uint32_t zdr_fhandle3 (ZDR *zdrs, fhandle3 *objp) { register int32_t *buf; @@ -46,7 +46,7 @@ zdr_fhandle3 (ZDR *zdrs, fhandle3 *objp) return TRUE; } -bool_t +uint32_t zdr_dirpath (ZDR *zdrs, dirpath *objp) { register int32_t *buf; @@ -57,7 +57,7 @@ zdr_dirpath (ZDR *zdrs, dirpath *objp) return TRUE; } -bool_t +uint32_t zdr_name (ZDR *zdrs, name *objp) { register int32_t *buf; @@ -68,7 +68,7 @@ zdr_name (ZDR *zdrs, name *objp) return TRUE; } -bool_t +uint32_t zdr_mountstat3 (ZDR *zdrs, mountstat3 *objp) { register int32_t *buf; @@ -79,7 +79,7 @@ zdr_mountstat3 (ZDR *zdrs, mountstat3 *objp) return TRUE; } -bool_t +uint32_t zdr_mountlist (ZDR *zdrs, mountlist *objp) { register int32_t *buf; @@ -90,7 +90,7 @@ zdr_mountlist (ZDR *zdrs, mountlist *objp) return TRUE; } -bool_t +uint32_t zdr_mountbody (ZDR *zdrs, mountbody *objp) { register int32_t *buf; @@ -105,7 +105,7 @@ zdr_mountbody (ZDR *zdrs, mountbody *objp) return TRUE; } -bool_t +uint32_t zdr_groups (ZDR *zdrs, groups *objp) { register int32_t *buf; @@ -116,7 +116,7 @@ zdr_groups (ZDR *zdrs, groups *objp) return TRUE; } -bool_t +uint32_t zdr_groupnode (ZDR *zdrs, groupnode *objp) { register int32_t *buf; @@ -129,7 +129,7 @@ zdr_groupnode (ZDR *zdrs, groupnode *objp) return TRUE; } -bool_t +uint32_t zdr_exports (ZDR *zdrs, exports *objp) { register int32_t *buf; @@ -140,7 +140,7 @@ zdr_exports (ZDR *zdrs, exports *objp) return TRUE; } -bool_t +uint32_t zdr_exportnode (ZDR *zdrs, exportnode *objp) { register int32_t *buf; @@ -155,7 +155,7 @@ zdr_exportnode (ZDR *zdrs, exportnode *objp) return TRUE; } -bool_t +uint32_t zdr_mountres3_ok (ZDR *zdrs, mountres3_ok *objp) { register int32_t *buf; @@ -169,7 +169,7 @@ zdr_mountres3_ok (ZDR *zdrs, mountres3_ok *objp) return TRUE; } -bool_t +uint32_t zdr_mountres3 (ZDR *zdrs, mountres3 *objp) { register int32_t *buf; @@ -188,7 +188,7 @@ zdr_mountres3 (ZDR *zdrs, mountres3 *objp) return TRUE; } -bool_t +uint32_t zdr_mountstat1 (ZDR *zdrs, mountstat1 *objp) { register int32_t *buf; @@ -199,7 +199,7 @@ zdr_mountstat1 (ZDR *zdrs, mountstat1 *objp) return TRUE; } -bool_t +uint32_t zdr_fhandle1 (ZDR *zdrs, fhandle1 objp) { register int32_t *buf; @@ -210,7 +210,7 @@ zdr_fhandle1 (ZDR *zdrs, fhandle1 objp) return TRUE; } -bool_t +uint32_t zdr_mountres1_ok (ZDR *zdrs, mountres1_ok *objp) { register int32_t *buf; @@ -221,7 +221,7 @@ zdr_mountres1_ok (ZDR *zdrs, mountres1_ok *objp) return TRUE; } -bool_t +uint32_t zdr_mountres1 (ZDR *zdrs, mountres1 *objp) { register int32_t *buf; diff --git a/mount/libnfs-raw-mount.h b/mount/libnfs-raw-mount.h index c6e40a2..06fdcae 100644 --- a/mount/libnfs-raw-mount.h +++ b/mount/libnfs-raw-mount.h @@ -235,40 +235,40 @@ extern int mount_program_3_freeresult (); /* the zdr functions */ #if defined(__STDC__) || defined(__cplusplus) -extern bool_t zdr_fhandle3 (ZDR *, fhandle3*); -extern bool_t zdr_dirpath (ZDR *, dirpath*); -extern bool_t zdr_name (ZDR *, name*); -extern bool_t zdr_mountstat3 (ZDR *, mountstat3*); -extern bool_t zdr_mountlist (ZDR *, mountlist*); -extern bool_t zdr_mountbody (ZDR *, mountbody*); -extern bool_t zdr_groups (ZDR *, groups*); -extern bool_t zdr_groupnode (ZDR *, groupnode*); -extern bool_t zdr_exports (ZDR *, exports*); -extern bool_t zdr_exportnode (ZDR *, exportnode*); -extern bool_t zdr_mountres3_ok (ZDR *, mountres3_ok*); -extern bool_t zdr_mountres3 (ZDR *, mountres3*); -extern bool_t zdr_mountstat1 (ZDR *, mountstat1*); -extern bool_t zdr_fhandle1 (ZDR *, fhandle1); -extern bool_t zdr_mountres1_ok (ZDR *, mountres1_ok*); -extern bool_t zdr_mountres1 (ZDR *, mountres1*); +extern uint32_t zdr_fhandle3 (ZDR *, fhandle3*); +extern uint32_t zdr_dirpath (ZDR *, dirpath*); +extern uint32_t zdr_name (ZDR *, name*); +extern uint32_t zdr_mountstat3 (ZDR *, mountstat3*); +extern uint32_t zdr_mountlist (ZDR *, mountlist*); +extern uint32_t zdr_mountbody (ZDR *, mountbody*); +extern uint32_t zdr_groups (ZDR *, groups*); +extern uint32_t zdr_groupnode (ZDR *, groupnode*); +extern uint32_t zdr_exports (ZDR *, exports*); +extern uint32_t zdr_exportnode (ZDR *, exportnode*); +extern uint32_t zdr_mountres3_ok (ZDR *, mountres3_ok*); +extern uint32_t zdr_mountres3 (ZDR *, mountres3*); +extern uint32_t zdr_mountstat1 (ZDR *, mountstat1*); +extern uint32_t zdr_fhandle1 (ZDR *, fhandle1); +extern uint32_t zdr_mountres1_ok (ZDR *, mountres1_ok*); +extern uint32_t zdr_mountres1 (ZDR *, mountres1*); #else /* K&R C */ -extern bool_t zdr_fhandle3 (); -extern bool_t zdr_dirpath (); -extern bool_t zdr_name (); -extern bool_t zdr_mountstat3 (); -extern bool_t zdr_mountlist (); -extern bool_t zdr_mountbody (); -extern bool_t zdr_groups (); -extern bool_t zdr_groupnode (); -extern bool_t zdr_exports (); -extern bool_t zdr_exportnode (); -extern bool_t zdr_mountres3_ok (); -extern bool_t zdr_mountres3 (); -extern bool_t zdr_mountstat1 (); -extern bool_t zdr_fhandle1 (); -extern bool_t zdr_mountres1_ok (); -extern bool_t zdr_mountres1 (); +extern uint32_t zdr_fhandle3 (); +extern uint32_t zdr_dirpath (); +extern uint32_t zdr_name (); +extern uint32_t zdr_mountstat3 (); +extern uint32_t zdr_mountlist (); +extern uint32_t zdr_mountbody (); +extern uint32_t zdr_groups (); +extern uint32_t zdr_groupnode (); +extern uint32_t zdr_exports (); +extern uint32_t zdr_exportnode (); +extern uint32_t zdr_mountres3_ok (); +extern uint32_t zdr_mountres3 (); +extern uint32_t zdr_mountstat1 (); +extern uint32_t zdr_fhandle1 (); +extern uint32_t zdr_mountres1_ok (); +extern uint32_t zdr_mountres1 (); #endif /* K&R C */ diff --git a/nfs/Makefile.am b/nfs/Makefile.am index c3bc2c5..5faee61 100644 --- a/nfs/Makefile.am +++ b/nfs/Makefile.am @@ -19,6 +19,6 @@ nfs-stamp : nfs.x compile_rpc: cat nfs.x | head -29 >libnfs-raw-nfs.h - rpcgen -h nfs.x | sed -e "s/#include //" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/#define _NFS_H_RPCGEN/#define _NFS_H_RPCGEN\n#include /g" -e "s/#define NFS3_COOKIEVERFSIZE 8/#define NFS3_COOKIEVERFSIZE 8\n\n#if defined(ANDROID)\ntypedef long long int quad_t;\ntypedef long long unsigned u_quad_t;\n#endif\n#if defined(WIN32)\ntypedef long long int quad_t;\ntypedef long long unsigned u_quad_t;\n#endif/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" >> libnfs-raw-nfs.h + rpcgen -h nfs.x | sed -e "s/#include //" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/#define _NFS_H_RPCGEN/#define _NFS_H_RPCGEN\n#include /g" -e "s/#define NFS3_COOKIEVERFSIZE 8/#define NFS3_COOKIEVERFSIZE 8\n\n#if defined(ANDROID)\ntypedef long long int quad_t;\ntypedef long long unsigned u_quad_t;\n#endif\n#if defined(WIN32)\ntypedef long long int quad_t;\ntypedef long long unsigned u_quad_t;\n#endif/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" -e "s/bool_t/uint32_t/g" >> libnfs-raw-nfs.h cat nfs.x | head -29 >libnfs-raw-nfs.c - rpcgen -c nfs.x | sed -e "s/#include \".*nfs.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nfs.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" >> libnfs-raw-nfs.c + rpcgen -c nfs.x | sed -e "s/#include \".*nfs.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nfs.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" -e "s/bool_t/uint32_t/g" >> libnfs-raw-nfs.c diff --git a/nfs/libnfs-raw-nfs.c b/nfs/libnfs-raw-nfs.c index 30d05a5..925048a 100644 --- a/nfs/libnfs-raw-nfs.c +++ b/nfs/libnfs-raw-nfs.c @@ -35,7 +35,7 @@ either expressed or implied, of the FreeBSD Project. #include "libnfs-zdr.h" #include "libnfs-raw-nfs.h" -bool_t +uint32_t zdr_cookieverf3 (ZDR *zdrs, cookieverf3 objp) { register int32_t *buf; @@ -46,7 +46,7 @@ zdr_cookieverf3 (ZDR *zdrs, cookieverf3 objp) return TRUE; } -bool_t +uint32_t zdr_cookie3 (ZDR *zdrs, cookie3 *objp) { register int32_t *buf; @@ -57,7 +57,7 @@ zdr_cookie3 (ZDR *zdrs, cookie3 *objp) return TRUE; } -bool_t +uint32_t zdr_nfs_fh3 (ZDR *zdrs, nfs_fh3 *objp) { register int32_t *buf; @@ -68,7 +68,7 @@ zdr_nfs_fh3 (ZDR *zdrs, nfs_fh3 *objp) return TRUE; } -bool_t +uint32_t zdr_filename3 (ZDR *zdrs, filename3 *objp) { register int32_t *buf; @@ -79,7 +79,7 @@ zdr_filename3 (ZDR *zdrs, filename3 *objp) return TRUE; } -bool_t +uint32_t zdr_diropargs3 (ZDR *zdrs, diropargs3 *objp) { register int32_t *buf; @@ -92,7 +92,7 @@ zdr_diropargs3 (ZDR *zdrs, diropargs3 *objp) return TRUE; } -bool_t +uint32_t zdr_ftype3 (ZDR *zdrs, ftype3 *objp) { register int32_t *buf; @@ -103,7 +103,7 @@ zdr_ftype3 (ZDR *zdrs, ftype3 *objp) return TRUE; } -bool_t +uint32_t zdr_mode3 (ZDR *zdrs, mode3 *objp) { register int32_t *buf; @@ -114,7 +114,7 @@ zdr_mode3 (ZDR *zdrs, mode3 *objp) return TRUE; } -bool_t +uint32_t zdr_uid3 (ZDR *zdrs, uid3 *objp) { register int32_t *buf; @@ -125,7 +125,7 @@ zdr_uid3 (ZDR *zdrs, uid3 *objp) return TRUE; } -bool_t +uint32_t zdr_gid3 (ZDR *zdrs, gid3 *objp) { register int32_t *buf; @@ -136,7 +136,7 @@ zdr_gid3 (ZDR *zdrs, gid3 *objp) return TRUE; } -bool_t +uint32_t zdr_size3 (ZDR *zdrs, size3 *objp) { register int32_t *buf; @@ -147,7 +147,7 @@ zdr_size3 (ZDR *zdrs, size3 *objp) return TRUE; } -bool_t +uint32_t zdr_fileid3 (ZDR *zdrs, fileid3 *objp) { register int32_t *buf; @@ -158,7 +158,7 @@ zdr_fileid3 (ZDR *zdrs, fileid3 *objp) return TRUE; } -bool_t +uint32_t zdr_specdata3 (ZDR *zdrs, specdata3 *objp) { register int32_t *buf; @@ -171,7 +171,7 @@ zdr_specdata3 (ZDR *zdrs, specdata3 *objp) return TRUE; } -bool_t +uint32_t zdr_nfstime3 (ZDR *zdrs, nfstime3 *objp) { register int32_t *buf; @@ -184,7 +184,7 @@ zdr_nfstime3 (ZDR *zdrs, nfstime3 *objp) return TRUE; } -bool_t +uint32_t zdr_fattr3 (ZDR *zdrs, fattr3 *objp) { register int32_t *buf; @@ -219,7 +219,7 @@ zdr_fattr3 (ZDR *zdrs, fattr3 *objp) return TRUE; } -bool_t +uint32_t zdr_post_op_attr (ZDR *zdrs, post_op_attr *objp) { register int32_t *buf; @@ -240,7 +240,7 @@ zdr_post_op_attr (ZDR *zdrs, post_op_attr *objp) return TRUE; } -bool_t +uint32_t zdr_nfsstat3 (ZDR *zdrs, nfsstat3 *objp) { register int32_t *buf; @@ -251,7 +251,7 @@ zdr_nfsstat3 (ZDR *zdrs, nfsstat3 *objp) return TRUE; } -bool_t +uint32_t zdr_stable_how (ZDR *zdrs, stable_how *objp) { register int32_t *buf; @@ -262,7 +262,7 @@ zdr_stable_how (ZDR *zdrs, stable_how *objp) return TRUE; } -bool_t +uint32_t zdr_offset3 (ZDR *zdrs, offset3 *objp) { register int32_t *buf; @@ -273,7 +273,7 @@ zdr_offset3 (ZDR *zdrs, offset3 *objp) return TRUE; } -bool_t +uint32_t zdr_count3 (ZDR *zdrs, count3 *objp) { register int32_t *buf; @@ -284,7 +284,7 @@ zdr_count3 (ZDR *zdrs, count3 *objp) return TRUE; } -bool_t +uint32_t zdr_wcc_attr (ZDR *zdrs, wcc_attr *objp) { register int32_t *buf; @@ -299,7 +299,7 @@ zdr_wcc_attr (ZDR *zdrs, wcc_attr *objp) return TRUE; } -bool_t +uint32_t zdr_pre_op_attr (ZDR *zdrs, pre_op_attr *objp) { register int32_t *buf; @@ -320,7 +320,7 @@ zdr_pre_op_attr (ZDR *zdrs, pre_op_attr *objp) return TRUE; } -bool_t +uint32_t zdr_wcc_data (ZDR *zdrs, wcc_data *objp) { register int32_t *buf; @@ -333,7 +333,7 @@ zdr_wcc_data (ZDR *zdrs, wcc_data *objp) return TRUE; } -bool_t +uint32_t zdr_WRITE3args (ZDR *zdrs, WRITE3args *objp) { register int32_t *buf; @@ -352,7 +352,7 @@ zdr_WRITE3args (ZDR *zdrs, WRITE3args *objp) return TRUE; } -bool_t +uint32_t zdr_writeverf3 (ZDR *zdrs, writeverf3 objp) { register int32_t *buf; @@ -363,7 +363,7 @@ zdr_writeverf3 (ZDR *zdrs, writeverf3 objp) return TRUE; } -bool_t +uint32_t zdr_WRITE3resok (ZDR *zdrs, WRITE3resok *objp) { register int32_t *buf; @@ -380,7 +380,7 @@ zdr_WRITE3resok (ZDR *zdrs, WRITE3resok *objp) return TRUE; } -bool_t +uint32_t zdr_WRITE3resfail (ZDR *zdrs, WRITE3resfail *objp) { register int32_t *buf; @@ -391,7 +391,7 @@ zdr_WRITE3resfail (ZDR *zdrs, WRITE3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_WRITE3res (ZDR *zdrs, WRITE3res *objp) { register int32_t *buf; @@ -412,7 +412,7 @@ zdr_WRITE3res (ZDR *zdrs, WRITE3res *objp) return TRUE; } -bool_t +uint32_t zdr_LOOKUP3args (ZDR *zdrs, LOOKUP3args *objp) { register int32_t *buf; @@ -423,7 +423,7 @@ zdr_LOOKUP3args (ZDR *zdrs, LOOKUP3args *objp) return TRUE; } -bool_t +uint32_t zdr_LOOKUP3resok (ZDR *zdrs, LOOKUP3resok *objp) { register int32_t *buf; @@ -438,7 +438,7 @@ zdr_LOOKUP3resok (ZDR *zdrs, LOOKUP3resok *objp) return TRUE; } -bool_t +uint32_t zdr_LOOKUP3resfail (ZDR *zdrs, LOOKUP3resfail *objp) { register int32_t *buf; @@ -449,7 +449,7 @@ zdr_LOOKUP3resfail (ZDR *zdrs, LOOKUP3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_LOOKUP3res (ZDR *zdrs, LOOKUP3res *objp) { register int32_t *buf; @@ -470,7 +470,7 @@ zdr_LOOKUP3res (ZDR *zdrs, LOOKUP3res *objp) return TRUE; } -bool_t +uint32_t zdr_COMMIT3args (ZDR *zdrs, COMMIT3args *objp) { register int32_t *buf; @@ -485,7 +485,7 @@ zdr_COMMIT3args (ZDR *zdrs, COMMIT3args *objp) return TRUE; } -bool_t +uint32_t zdr_COMMIT3resok (ZDR *zdrs, COMMIT3resok *objp) { register int32_t *buf; @@ -498,7 +498,7 @@ zdr_COMMIT3resok (ZDR *zdrs, COMMIT3resok *objp) return TRUE; } -bool_t +uint32_t zdr_COMMIT3resfail (ZDR *zdrs, COMMIT3resfail *objp) { register int32_t *buf; @@ -509,7 +509,7 @@ zdr_COMMIT3resfail (ZDR *zdrs, COMMIT3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_COMMIT3res (ZDR *zdrs, COMMIT3res *objp) { register int32_t *buf; @@ -530,7 +530,7 @@ zdr_COMMIT3res (ZDR *zdrs, COMMIT3res *objp) return TRUE; } -bool_t +uint32_t zdr_ACCESS3args (ZDR *zdrs, ACCESS3args *objp) { register int32_t *buf; @@ -543,7 +543,7 @@ zdr_ACCESS3args (ZDR *zdrs, ACCESS3args *objp) return TRUE; } -bool_t +uint32_t zdr_ACCESS3resok (ZDR *zdrs, ACCESS3resok *objp) { register int32_t *buf; @@ -556,7 +556,7 @@ zdr_ACCESS3resok (ZDR *zdrs, ACCESS3resok *objp) return TRUE; } -bool_t +uint32_t zdr_ACCESS3resfail (ZDR *zdrs, ACCESS3resfail *objp) { register int32_t *buf; @@ -567,7 +567,7 @@ zdr_ACCESS3resfail (ZDR *zdrs, ACCESS3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_ACCESS3res (ZDR *zdrs, ACCESS3res *objp) { register int32_t *buf; @@ -588,7 +588,7 @@ zdr_ACCESS3res (ZDR *zdrs, ACCESS3res *objp) return TRUE; } -bool_t +uint32_t zdr_GETATTR3args (ZDR *zdrs, GETATTR3args *objp) { register int32_t *buf; @@ -599,7 +599,7 @@ zdr_GETATTR3args (ZDR *zdrs, GETATTR3args *objp) return TRUE; } -bool_t +uint32_t zdr_GETATTR3resok (ZDR *zdrs, GETATTR3resok *objp) { register int32_t *buf; @@ -610,7 +610,7 @@ zdr_GETATTR3resok (ZDR *zdrs, GETATTR3resok *objp) return TRUE; } -bool_t +uint32_t zdr_GETATTR3res (ZDR *zdrs, GETATTR3res *objp) { register int32_t *buf; @@ -629,7 +629,7 @@ zdr_GETATTR3res (ZDR *zdrs, GETATTR3res *objp) return TRUE; } -bool_t +uint32_t zdr_time_how (ZDR *zdrs, time_how *objp) { register int32_t *buf; @@ -640,7 +640,7 @@ zdr_time_how (ZDR *zdrs, time_how *objp) return TRUE; } -bool_t +uint32_t zdr_set_mode3 (ZDR *zdrs, set_mode3 *objp) { register int32_t *buf; @@ -659,7 +659,7 @@ zdr_set_mode3 (ZDR *zdrs, set_mode3 *objp) return TRUE; } -bool_t +uint32_t zdr_set_uid3 (ZDR *zdrs, set_uid3 *objp) { register int32_t *buf; @@ -678,7 +678,7 @@ zdr_set_uid3 (ZDR *zdrs, set_uid3 *objp) return TRUE; } -bool_t +uint32_t zdr_set_gid3 (ZDR *zdrs, set_gid3 *objp) { register int32_t *buf; @@ -697,7 +697,7 @@ zdr_set_gid3 (ZDR *zdrs, set_gid3 *objp) return TRUE; } -bool_t +uint32_t zdr_set_size3 (ZDR *zdrs, set_size3 *objp) { register int32_t *buf; @@ -716,7 +716,7 @@ zdr_set_size3 (ZDR *zdrs, set_size3 *objp) return TRUE; } -bool_t +uint32_t zdr_set_atime (ZDR *zdrs, set_atime *objp) { register int32_t *buf; @@ -735,7 +735,7 @@ zdr_set_atime (ZDR *zdrs, set_atime *objp) return TRUE; } -bool_t +uint32_t zdr_set_mtime (ZDR *zdrs, set_mtime *objp) { register int32_t *buf; @@ -754,7 +754,7 @@ zdr_set_mtime (ZDR *zdrs, set_mtime *objp) return TRUE; } -bool_t +uint32_t zdr_sattr3 (ZDR *zdrs, sattr3 *objp) { register int32_t *buf; @@ -775,7 +775,7 @@ zdr_sattr3 (ZDR *zdrs, sattr3 *objp) return TRUE; } -bool_t +uint32_t zdr_createmode3 (ZDR *zdrs, createmode3 *objp) { register int32_t *buf; @@ -786,7 +786,7 @@ zdr_createmode3 (ZDR *zdrs, createmode3 *objp) return TRUE; } -bool_t +uint32_t zdr_createverf3 (ZDR *zdrs, createverf3 objp) { register int32_t *buf; @@ -797,7 +797,7 @@ zdr_createverf3 (ZDR *zdrs, createverf3 objp) return TRUE; } -bool_t +uint32_t zdr_createhow3 (ZDR *zdrs, createhow3 *objp) { register int32_t *buf; @@ -824,7 +824,7 @@ zdr_createhow3 (ZDR *zdrs, createhow3 *objp) return TRUE; } -bool_t +uint32_t zdr_CREATE3args (ZDR *zdrs, CREATE3args *objp) { register int32_t *buf; @@ -837,7 +837,7 @@ zdr_CREATE3args (ZDR *zdrs, CREATE3args *objp) return TRUE; } -bool_t +uint32_t zdr_post_op_fh3 (ZDR *zdrs, post_op_fh3 *objp) { register int32_t *buf; @@ -858,7 +858,7 @@ zdr_post_op_fh3 (ZDR *zdrs, post_op_fh3 *objp) return TRUE; } -bool_t +uint32_t zdr_CREATE3resok (ZDR *zdrs, CREATE3resok *objp) { register int32_t *buf; @@ -873,7 +873,7 @@ zdr_CREATE3resok (ZDR *zdrs, CREATE3resok *objp) return TRUE; } -bool_t +uint32_t zdr_CREATE3resfail (ZDR *zdrs, CREATE3resfail *objp) { register int32_t *buf; @@ -884,7 +884,7 @@ zdr_CREATE3resfail (ZDR *zdrs, CREATE3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_CREATE3res (ZDR *zdrs, CREATE3res *objp) { register int32_t *buf; @@ -905,7 +905,7 @@ zdr_CREATE3res (ZDR *zdrs, CREATE3res *objp) return TRUE; } -bool_t +uint32_t zdr_REMOVE3args (ZDR *zdrs, REMOVE3args *objp) { register int32_t *buf; @@ -916,7 +916,7 @@ zdr_REMOVE3args (ZDR *zdrs, REMOVE3args *objp) return TRUE; } -bool_t +uint32_t zdr_REMOVE3resok (ZDR *zdrs, REMOVE3resok *objp) { register int32_t *buf; @@ -927,7 +927,7 @@ zdr_REMOVE3resok (ZDR *zdrs, REMOVE3resok *objp) return TRUE; } -bool_t +uint32_t zdr_REMOVE3resfail (ZDR *zdrs, REMOVE3resfail *objp) { register int32_t *buf; @@ -938,7 +938,7 @@ zdr_REMOVE3resfail (ZDR *zdrs, REMOVE3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_REMOVE3res (ZDR *zdrs, REMOVE3res *objp) { register int32_t *buf; @@ -959,7 +959,7 @@ zdr_REMOVE3res (ZDR *zdrs, REMOVE3res *objp) return TRUE; } -bool_t +uint32_t zdr_READ3args (ZDR *zdrs, READ3args *objp) { register int32_t *buf; @@ -974,7 +974,7 @@ zdr_READ3args (ZDR *zdrs, READ3args *objp) return TRUE; } -bool_t +uint32_t zdr_READ3resok (ZDR *zdrs, READ3resok *objp) { register int32_t *buf; @@ -991,7 +991,7 @@ zdr_READ3resok (ZDR *zdrs, READ3resok *objp) return TRUE; } -bool_t +uint32_t zdr_READ3resfail (ZDR *zdrs, READ3resfail *objp) { register int32_t *buf; @@ -1002,7 +1002,7 @@ zdr_READ3resfail (ZDR *zdrs, READ3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_READ3res (ZDR *zdrs, READ3res *objp) { register int32_t *buf; @@ -1023,7 +1023,7 @@ zdr_READ3res (ZDR *zdrs, READ3res *objp) return TRUE; } -bool_t +uint32_t zdr_FSINFO3args (ZDR *zdrs, FSINFO3args *objp) { register int32_t *buf; @@ -1034,7 +1034,7 @@ zdr_FSINFO3args (ZDR *zdrs, FSINFO3args *objp) return TRUE; } -bool_t +uint32_t zdr_FSINFO3resok (ZDR *zdrs, FSINFO3resok *objp) { register int32_t *buf; @@ -1140,7 +1140,7 @@ zdr_FSINFO3resok (ZDR *zdrs, FSINFO3resok *objp) return TRUE; } -bool_t +uint32_t zdr_FSINFO3resfail (ZDR *zdrs, FSINFO3resfail *objp) { register int32_t *buf; @@ -1151,7 +1151,7 @@ zdr_FSINFO3resfail (ZDR *zdrs, FSINFO3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_FSINFO3res (ZDR *zdrs, FSINFO3res *objp) { register int32_t *buf; @@ -1172,7 +1172,7 @@ zdr_FSINFO3res (ZDR *zdrs, FSINFO3res *objp) return TRUE; } -bool_t +uint32_t zdr_FSSTAT3args (ZDR *zdrs, FSSTAT3args *objp) { register int32_t *buf; @@ -1183,7 +1183,7 @@ zdr_FSSTAT3args (ZDR *zdrs, FSSTAT3args *objp) return TRUE; } -bool_t +uint32_t zdr_FSSTAT3resok (ZDR *zdrs, FSSTAT3resok *objp) { register int32_t *buf; @@ -1208,7 +1208,7 @@ zdr_FSSTAT3resok (ZDR *zdrs, FSSTAT3resok *objp) return TRUE; } -bool_t +uint32_t zdr_FSSTAT3resfail (ZDR *zdrs, FSSTAT3resfail *objp) { register int32_t *buf; @@ -1219,7 +1219,7 @@ zdr_FSSTAT3resfail (ZDR *zdrs, FSSTAT3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_FSSTAT3res (ZDR *zdrs, FSSTAT3res *objp) { register int32_t *buf; @@ -1240,7 +1240,7 @@ zdr_FSSTAT3res (ZDR *zdrs, FSSTAT3res *objp) return TRUE; } -bool_t +uint32_t zdr_PATHCONF3args (ZDR *zdrs, PATHCONF3args *objp) { register int32_t *buf; @@ -1251,7 +1251,7 @@ zdr_PATHCONF3args (ZDR *zdrs, PATHCONF3args *objp) return TRUE; } -bool_t +uint32_t zdr_PATHCONF3resok (ZDR *zdrs, PATHCONF3resok *objp) { register int32_t *buf; @@ -1329,7 +1329,7 @@ zdr_PATHCONF3resok (ZDR *zdrs, PATHCONF3resok *objp) return TRUE; } -bool_t +uint32_t zdr_PATHCONF3resfail (ZDR *zdrs, PATHCONF3resfail *objp) { register int32_t *buf; @@ -1340,7 +1340,7 @@ zdr_PATHCONF3resfail (ZDR *zdrs, PATHCONF3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_PATHCONF3res (ZDR *zdrs, PATHCONF3res *objp) { register int32_t *buf; @@ -1361,7 +1361,7 @@ zdr_PATHCONF3res (ZDR *zdrs, PATHCONF3res *objp) return TRUE; } -bool_t +uint32_t zdr_nfspath3 (ZDR *zdrs, nfspath3 *objp) { register int32_t *buf; @@ -1372,7 +1372,7 @@ zdr_nfspath3 (ZDR *zdrs, nfspath3 *objp) return TRUE; } -bool_t +uint32_t zdr_symlinkdata3 (ZDR *zdrs, symlinkdata3 *objp) { register int32_t *buf; @@ -1385,7 +1385,7 @@ zdr_symlinkdata3 (ZDR *zdrs, symlinkdata3 *objp) return TRUE; } -bool_t +uint32_t zdr_SYMLINK3args (ZDR *zdrs, SYMLINK3args *objp) { register int32_t *buf; @@ -1398,7 +1398,7 @@ zdr_SYMLINK3args (ZDR *zdrs, SYMLINK3args *objp) return TRUE; } -bool_t +uint32_t zdr_SYMLINK3resok (ZDR *zdrs, SYMLINK3resok *objp) { register int32_t *buf; @@ -1413,7 +1413,7 @@ zdr_SYMLINK3resok (ZDR *zdrs, SYMLINK3resok *objp) return TRUE; } -bool_t +uint32_t zdr_SYMLINK3resfail (ZDR *zdrs, SYMLINK3resfail *objp) { register int32_t *buf; @@ -1424,7 +1424,7 @@ zdr_SYMLINK3resfail (ZDR *zdrs, SYMLINK3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_SYMLINK3res (ZDR *zdrs, SYMLINK3res *objp) { register int32_t *buf; @@ -1445,7 +1445,7 @@ zdr_SYMLINK3res (ZDR *zdrs, SYMLINK3res *objp) return TRUE; } -bool_t +uint32_t zdr_READLINK3args (ZDR *zdrs, READLINK3args *objp) { register int32_t *buf; @@ -1456,7 +1456,7 @@ zdr_READLINK3args (ZDR *zdrs, READLINK3args *objp) return TRUE; } -bool_t +uint32_t zdr_READLINK3resok (ZDR *zdrs, READLINK3resok *objp) { register int32_t *buf; @@ -1469,7 +1469,7 @@ zdr_READLINK3resok (ZDR *zdrs, READLINK3resok *objp) return TRUE; } -bool_t +uint32_t zdr_READLINK3resfail (ZDR *zdrs, READLINK3resfail *objp) { register int32_t *buf; @@ -1480,7 +1480,7 @@ zdr_READLINK3resfail (ZDR *zdrs, READLINK3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_READLINK3res (ZDR *zdrs, READLINK3res *objp) { register int32_t *buf; @@ -1501,7 +1501,7 @@ zdr_READLINK3res (ZDR *zdrs, READLINK3res *objp) return TRUE; } -bool_t +uint32_t zdr_devicedata3 (ZDR *zdrs, devicedata3 *objp) { register int32_t *buf; @@ -1514,7 +1514,7 @@ zdr_devicedata3 (ZDR *zdrs, devicedata3 *objp) return TRUE; } -bool_t +uint32_t zdr_mknoddata3 (ZDR *zdrs, mknoddata3 *objp) { register int32_t *buf; @@ -1545,7 +1545,7 @@ zdr_mknoddata3 (ZDR *zdrs, mknoddata3 *objp) return TRUE; } -bool_t +uint32_t zdr_MKNOD3args (ZDR *zdrs, MKNOD3args *objp) { register int32_t *buf; @@ -1558,7 +1558,7 @@ zdr_MKNOD3args (ZDR *zdrs, MKNOD3args *objp) return TRUE; } -bool_t +uint32_t zdr_MKNOD3resok (ZDR *zdrs, MKNOD3resok *objp) { register int32_t *buf; @@ -1573,7 +1573,7 @@ zdr_MKNOD3resok (ZDR *zdrs, MKNOD3resok *objp) return TRUE; } -bool_t +uint32_t zdr_MKNOD3resfail (ZDR *zdrs, MKNOD3resfail *objp) { register int32_t *buf; @@ -1584,7 +1584,7 @@ zdr_MKNOD3resfail (ZDR *zdrs, MKNOD3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_MKNOD3res (ZDR *zdrs, MKNOD3res *objp) { register int32_t *buf; @@ -1605,7 +1605,7 @@ zdr_MKNOD3res (ZDR *zdrs, MKNOD3res *objp) return TRUE; } -bool_t +uint32_t zdr_MKDIR3args (ZDR *zdrs, MKDIR3args *objp) { register int32_t *buf; @@ -1618,7 +1618,7 @@ zdr_MKDIR3args (ZDR *zdrs, MKDIR3args *objp) return TRUE; } -bool_t +uint32_t zdr_MKDIR3resok (ZDR *zdrs, MKDIR3resok *objp) { register int32_t *buf; @@ -1633,7 +1633,7 @@ zdr_MKDIR3resok (ZDR *zdrs, MKDIR3resok *objp) return TRUE; } -bool_t +uint32_t zdr_MKDIR3resfail (ZDR *zdrs, MKDIR3resfail *objp) { register int32_t *buf; @@ -1644,7 +1644,7 @@ zdr_MKDIR3resfail (ZDR *zdrs, MKDIR3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_MKDIR3res (ZDR *zdrs, MKDIR3res *objp) { register int32_t *buf; @@ -1665,7 +1665,7 @@ zdr_MKDIR3res (ZDR *zdrs, MKDIR3res *objp) return TRUE; } -bool_t +uint32_t zdr_RMDIR3args (ZDR *zdrs, RMDIR3args *objp) { register int32_t *buf; @@ -1676,7 +1676,7 @@ zdr_RMDIR3args (ZDR *zdrs, RMDIR3args *objp) return TRUE; } -bool_t +uint32_t zdr_RMDIR3resok (ZDR *zdrs, RMDIR3resok *objp) { register int32_t *buf; @@ -1687,7 +1687,7 @@ zdr_RMDIR3resok (ZDR *zdrs, RMDIR3resok *objp) return TRUE; } -bool_t +uint32_t zdr_RMDIR3resfail (ZDR *zdrs, RMDIR3resfail *objp) { register int32_t *buf; @@ -1698,7 +1698,7 @@ zdr_RMDIR3resfail (ZDR *zdrs, RMDIR3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_RMDIR3res (ZDR *zdrs, RMDIR3res *objp) { register int32_t *buf; @@ -1719,7 +1719,7 @@ zdr_RMDIR3res (ZDR *zdrs, RMDIR3res *objp) return TRUE; } -bool_t +uint32_t zdr_RENAME3args (ZDR *zdrs, RENAME3args *objp) { register int32_t *buf; @@ -1732,7 +1732,7 @@ zdr_RENAME3args (ZDR *zdrs, RENAME3args *objp) return TRUE; } -bool_t +uint32_t zdr_RENAME3resok (ZDR *zdrs, RENAME3resok *objp) { register int32_t *buf; @@ -1745,7 +1745,7 @@ zdr_RENAME3resok (ZDR *zdrs, RENAME3resok *objp) return TRUE; } -bool_t +uint32_t zdr_RENAME3resfail (ZDR *zdrs, RENAME3resfail *objp) { register int32_t *buf; @@ -1758,7 +1758,7 @@ zdr_RENAME3resfail (ZDR *zdrs, RENAME3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_RENAME3res (ZDR *zdrs, RENAME3res *objp) { register int32_t *buf; @@ -1779,7 +1779,7 @@ zdr_RENAME3res (ZDR *zdrs, RENAME3res *objp) return TRUE; } -bool_t +uint32_t zdr_READDIRPLUS3args (ZDR *zdrs, READDIRPLUS3args *objp) { register int32_t *buf; @@ -1798,7 +1798,7 @@ zdr_READDIRPLUS3args (ZDR *zdrs, READDIRPLUS3args *objp) return TRUE; } -bool_t +uint32_t zdr_entryplus3 (ZDR *zdrs, entryplus3 *objp) { register int32_t *buf; @@ -1819,7 +1819,7 @@ zdr_entryplus3 (ZDR *zdrs, entryplus3 *objp) return TRUE; } -bool_t +uint32_t zdr_dirlistplus3 (ZDR *zdrs, dirlistplus3 *objp) { register int32_t *buf; @@ -1832,7 +1832,7 @@ zdr_dirlistplus3 (ZDR *zdrs, dirlistplus3 *objp) return TRUE; } -bool_t +uint32_t zdr_READDIRPLUS3resok (ZDR *zdrs, READDIRPLUS3resok *objp) { register int32_t *buf; @@ -1847,7 +1847,7 @@ zdr_READDIRPLUS3resok (ZDR *zdrs, READDIRPLUS3resok *objp) return TRUE; } -bool_t +uint32_t zdr_READDIRPLUS3resfail (ZDR *zdrs, READDIRPLUS3resfail *objp) { register int32_t *buf; @@ -1858,7 +1858,7 @@ zdr_READDIRPLUS3resfail (ZDR *zdrs, READDIRPLUS3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_READDIRPLUS3res (ZDR *zdrs, READDIRPLUS3res *objp) { register int32_t *buf; @@ -1879,7 +1879,7 @@ zdr_READDIRPLUS3res (ZDR *zdrs, READDIRPLUS3res *objp) return TRUE; } -bool_t +uint32_t zdr_READDIR3args (ZDR *zdrs, READDIR3args *objp) { register int32_t *buf; @@ -1896,7 +1896,7 @@ zdr_READDIR3args (ZDR *zdrs, READDIR3args *objp) return TRUE; } -bool_t +uint32_t zdr_entry3 (ZDR *zdrs, entry3 *objp) { register int32_t *buf; @@ -1913,7 +1913,7 @@ zdr_entry3 (ZDR *zdrs, entry3 *objp) return TRUE; } -bool_t +uint32_t zdr_dirlist3 (ZDR *zdrs, dirlist3 *objp) { register int32_t *buf; @@ -1926,7 +1926,7 @@ zdr_dirlist3 (ZDR *zdrs, dirlist3 *objp) return TRUE; } -bool_t +uint32_t zdr_READDIR3resok (ZDR *zdrs, READDIR3resok *objp) { register int32_t *buf; @@ -1941,7 +1941,7 @@ zdr_READDIR3resok (ZDR *zdrs, READDIR3resok *objp) return TRUE; } -bool_t +uint32_t zdr_READDIR3resfail (ZDR *zdrs, READDIR3resfail *objp) { register int32_t *buf; @@ -1952,7 +1952,7 @@ zdr_READDIR3resfail (ZDR *zdrs, READDIR3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_READDIR3res (ZDR *zdrs, READDIR3res *objp) { register int32_t *buf; @@ -1973,7 +1973,7 @@ zdr_READDIR3res (ZDR *zdrs, READDIR3res *objp) return TRUE; } -bool_t +uint32_t zdr_LINK3args (ZDR *zdrs, LINK3args *objp) { register int32_t *buf; @@ -1986,7 +1986,7 @@ zdr_LINK3args (ZDR *zdrs, LINK3args *objp) return TRUE; } -bool_t +uint32_t zdr_LINK3resok (ZDR *zdrs, LINK3resok *objp) { register int32_t *buf; @@ -1999,7 +1999,7 @@ zdr_LINK3resok (ZDR *zdrs, LINK3resok *objp) return TRUE; } -bool_t +uint32_t zdr_LINK3resfail (ZDR *zdrs, LINK3resfail *objp) { register int32_t *buf; @@ -2012,7 +2012,7 @@ zdr_LINK3resfail (ZDR *zdrs, LINK3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_LINK3res (ZDR *zdrs, LINK3res *objp) { register int32_t *buf; @@ -2033,7 +2033,7 @@ zdr_LINK3res (ZDR *zdrs, LINK3res *objp) return TRUE; } -bool_t +uint32_t zdr_sattrguard3 (ZDR *zdrs, sattrguard3 *objp) { register int32_t *buf; @@ -2054,7 +2054,7 @@ zdr_sattrguard3 (ZDR *zdrs, sattrguard3 *objp) return TRUE; } -bool_t +uint32_t zdr_SETATTR3args (ZDR *zdrs, SETATTR3args *objp) { register int32_t *buf; @@ -2069,7 +2069,7 @@ zdr_SETATTR3args (ZDR *zdrs, SETATTR3args *objp) return TRUE; } -bool_t +uint32_t zdr_SETATTR3resok (ZDR *zdrs, SETATTR3resok *objp) { register int32_t *buf; @@ -2080,7 +2080,7 @@ zdr_SETATTR3resok (ZDR *zdrs, SETATTR3resok *objp) return TRUE; } -bool_t +uint32_t zdr_SETATTR3resfail (ZDR *zdrs, SETATTR3resfail *objp) { register int32_t *buf; @@ -2091,7 +2091,7 @@ zdr_SETATTR3resfail (ZDR *zdrs, SETATTR3resfail *objp) return TRUE; } -bool_t +uint32_t zdr_SETATTR3res (ZDR *zdrs, SETATTR3res *objp) { register int32_t *buf; @@ -2112,7 +2112,7 @@ zdr_SETATTR3res (ZDR *zdrs, SETATTR3res *objp) return TRUE; } -bool_t +uint32_t zdr_fhandle2 (ZDR *zdrs, fhandle2 objp) { register int32_t *buf; @@ -2123,7 +2123,7 @@ zdr_fhandle2 (ZDR *zdrs, fhandle2 objp) return TRUE; } -bool_t +uint32_t zdr_ftype2 (ZDR *zdrs, ftype2 *objp) { register int32_t *buf; @@ -2134,7 +2134,7 @@ zdr_ftype2 (ZDR *zdrs, ftype2 *objp) return TRUE; } -bool_t +uint32_t zdr_fattr2 (ZDR *zdrs, fattr2 *objp) { register int32_t *buf; @@ -2264,7 +2264,7 @@ zdr_fattr2 (ZDR *zdrs, fattr2 *objp) return TRUE; } -bool_t +uint32_t zdr_sattr2 (ZDR *zdrs, sattr2 *objp) { register int32_t *buf; @@ -2334,7 +2334,7 @@ zdr_sattr2 (ZDR *zdrs, sattr2 *objp) return TRUE; } -bool_t +uint32_t zdr_filename2 (ZDR *zdrs, filename2 *objp) { register int32_t *buf; @@ -2345,7 +2345,7 @@ zdr_filename2 (ZDR *zdrs, filename2 *objp) return TRUE; } -bool_t +uint32_t zdr_path2 (ZDR *zdrs, path2 *objp) { register int32_t *buf; @@ -2356,7 +2356,7 @@ zdr_path2 (ZDR *zdrs, path2 *objp) return TRUE; } -bool_t +uint32_t zdr_nfsdata2 (ZDR *zdrs, nfsdata2 *objp) { register int32_t *buf; @@ -2367,7 +2367,7 @@ zdr_nfsdata2 (ZDR *zdrs, nfsdata2 *objp) return TRUE; } -bool_t +uint32_t zdr_nfscookie2 (ZDR *zdrs, nfscookie2 objp) { register int32_t *buf; @@ -2378,7 +2378,7 @@ zdr_nfscookie2 (ZDR *zdrs, nfscookie2 objp) return TRUE; } -bool_t +uint32_t zdr_entry2 (ZDR *zdrs, entry2 *objp) { register int32_t *buf; @@ -2395,7 +2395,7 @@ zdr_entry2 (ZDR *zdrs, entry2 *objp) return TRUE; } -bool_t +uint32_t zdr_diropargs2 (ZDR *zdrs, diropargs2 *objp) { register int32_t *buf; @@ -2408,7 +2408,7 @@ zdr_diropargs2 (ZDR *zdrs, diropargs2 *objp) return TRUE; } -bool_t +uint32_t zdr_GETATTR2args (ZDR *zdrs, GETATTR2args *objp) { register int32_t *buf; @@ -2419,7 +2419,7 @@ zdr_GETATTR2args (ZDR *zdrs, GETATTR2args *objp) return TRUE; } -bool_t +uint32_t zdr_GETATTR2resok (ZDR *zdrs, GETATTR2resok *objp) { register int32_t *buf; @@ -2430,7 +2430,7 @@ zdr_GETATTR2resok (ZDR *zdrs, GETATTR2resok *objp) return TRUE; } -bool_t +uint32_t zdr_GETATTR2res (ZDR *zdrs, GETATTR2res *objp) { register int32_t *buf; @@ -2449,7 +2449,7 @@ zdr_GETATTR2res (ZDR *zdrs, GETATTR2res *objp) return TRUE; } -bool_t +uint32_t zdr_SETATTR2args (ZDR *zdrs, SETATTR2args *objp) { register int32_t *buf; @@ -2462,7 +2462,7 @@ zdr_SETATTR2args (ZDR *zdrs, SETATTR2args *objp) return TRUE; } -bool_t +uint32_t zdr_SETATTR2resok (ZDR *zdrs, SETATTR2resok *objp) { register int32_t *buf; @@ -2473,7 +2473,7 @@ zdr_SETATTR2resok (ZDR *zdrs, SETATTR2resok *objp) return TRUE; } -bool_t +uint32_t zdr_SETATTR2res (ZDR *zdrs, SETATTR2res *objp) { register int32_t *buf; @@ -2492,7 +2492,7 @@ zdr_SETATTR2res (ZDR *zdrs, SETATTR2res *objp) return TRUE; } -bool_t +uint32_t zdr_LOOKUP2args (ZDR *zdrs, LOOKUP2args *objp) { register int32_t *buf; @@ -2503,7 +2503,7 @@ zdr_LOOKUP2args (ZDR *zdrs, LOOKUP2args *objp) return TRUE; } -bool_t +uint32_t zdr_LOOKUP2resok (ZDR *zdrs, LOOKUP2resok *objp) { register int32_t *buf; @@ -2516,7 +2516,7 @@ zdr_LOOKUP2resok (ZDR *zdrs, LOOKUP2resok *objp) return TRUE; } -bool_t +uint32_t zdr_LOOKUP2res (ZDR *zdrs, LOOKUP2res *objp) { register int32_t *buf; @@ -2535,7 +2535,7 @@ zdr_LOOKUP2res (ZDR *zdrs, LOOKUP2res *objp) return TRUE; } -bool_t +uint32_t zdr_READLINK2args (ZDR *zdrs, READLINK2args *objp) { register int32_t *buf; @@ -2546,7 +2546,7 @@ zdr_READLINK2args (ZDR *zdrs, READLINK2args *objp) return TRUE; } -bool_t +uint32_t zdr_READLINK2resok (ZDR *zdrs, READLINK2resok *objp) { register int32_t *buf; @@ -2557,7 +2557,7 @@ zdr_READLINK2resok (ZDR *zdrs, READLINK2resok *objp) return TRUE; } -bool_t +uint32_t zdr_READLINK2res (ZDR *zdrs, READLINK2res *objp) { register int32_t *buf; @@ -2576,7 +2576,7 @@ zdr_READLINK2res (ZDR *zdrs, READLINK2res *objp) return TRUE; } -bool_t +uint32_t zdr_READ2args (ZDR *zdrs, READ2args *objp) { register int32_t *buf; @@ -2593,7 +2593,7 @@ zdr_READ2args (ZDR *zdrs, READ2args *objp) return TRUE; } -bool_t +uint32_t zdr_READ2resok (ZDR *zdrs, READ2resok *objp) { register int32_t *buf; @@ -2606,7 +2606,7 @@ zdr_READ2resok (ZDR *zdrs, READ2resok *objp) return TRUE; } -bool_t +uint32_t zdr_READ2res (ZDR *zdrs, READ2res *objp) { register int32_t *buf; @@ -2625,7 +2625,7 @@ zdr_READ2res (ZDR *zdrs, READ2res *objp) return TRUE; } -bool_t +uint32_t zdr_WRITE2args (ZDR *zdrs, WRITE2args *objp) { register int32_t *buf; @@ -2687,7 +2687,7 @@ zdr_WRITE2args (ZDR *zdrs, WRITE2args *objp) return TRUE; } -bool_t +uint32_t zdr_WRITE2resok (ZDR *zdrs, WRITE2resok *objp) { register int32_t *buf; @@ -2698,7 +2698,7 @@ zdr_WRITE2resok (ZDR *zdrs, WRITE2resok *objp) return TRUE; } -bool_t +uint32_t zdr_WRITE2res (ZDR *zdrs, WRITE2res *objp) { register int32_t *buf; @@ -2717,7 +2717,7 @@ zdr_WRITE2res (ZDR *zdrs, WRITE2res *objp) return TRUE; } -bool_t +uint32_t zdr_CREATE2args (ZDR *zdrs, CREATE2args *objp) { register int32_t *buf; @@ -2730,7 +2730,7 @@ zdr_CREATE2args (ZDR *zdrs, CREATE2args *objp) return TRUE; } -bool_t +uint32_t zdr_CREATE2resok (ZDR *zdrs, CREATE2resok *objp) { register int32_t *buf; @@ -2743,7 +2743,7 @@ zdr_CREATE2resok (ZDR *zdrs, CREATE2resok *objp) return TRUE; } -bool_t +uint32_t zdr_CREATE2res (ZDR *zdrs, CREATE2res *objp) { register int32_t *buf; @@ -2762,7 +2762,7 @@ zdr_CREATE2res (ZDR *zdrs, CREATE2res *objp) return TRUE; } -bool_t +uint32_t zdr_REMOVE2args (ZDR *zdrs, REMOVE2args *objp) { register int32_t *buf; @@ -2773,7 +2773,7 @@ zdr_REMOVE2args (ZDR *zdrs, REMOVE2args *objp) return TRUE; } -bool_t +uint32_t zdr_REMOVE2res (ZDR *zdrs, REMOVE2res *objp) { register int32_t *buf; @@ -2784,7 +2784,7 @@ zdr_REMOVE2res (ZDR *zdrs, REMOVE2res *objp) return TRUE; } -bool_t +uint32_t zdr_RENAME2args (ZDR *zdrs, RENAME2args *objp) { register int32_t *buf; @@ -2797,7 +2797,7 @@ zdr_RENAME2args (ZDR *zdrs, RENAME2args *objp) return TRUE; } -bool_t +uint32_t zdr_RENAME2res (ZDR *zdrs, RENAME2res *objp) { register int32_t *buf; @@ -2808,7 +2808,7 @@ zdr_RENAME2res (ZDR *zdrs, RENAME2res *objp) return TRUE; } -bool_t +uint32_t zdr_LINK2args (ZDR *zdrs, LINK2args *objp) { register int32_t *buf; @@ -2821,7 +2821,7 @@ zdr_LINK2args (ZDR *zdrs, LINK2args *objp) return TRUE; } -bool_t +uint32_t zdr_LINK2res (ZDR *zdrs, LINK2res *objp) { register int32_t *buf; @@ -2832,7 +2832,7 @@ zdr_LINK2res (ZDR *zdrs, LINK2res *objp) return TRUE; } -bool_t +uint32_t zdr_SYMLINK2args (ZDR *zdrs, SYMLINK2args *objp) { register int32_t *buf; @@ -2847,7 +2847,7 @@ zdr_SYMLINK2args (ZDR *zdrs, SYMLINK2args *objp) return TRUE; } -bool_t +uint32_t zdr_SYMLINK2res (ZDR *zdrs, SYMLINK2res *objp) { register int32_t *buf; @@ -2858,7 +2858,7 @@ zdr_SYMLINK2res (ZDR *zdrs, SYMLINK2res *objp) return TRUE; } -bool_t +uint32_t zdr_MKDIR2args (ZDR *zdrs, MKDIR2args *objp) { register int32_t *buf; @@ -2871,7 +2871,7 @@ zdr_MKDIR2args (ZDR *zdrs, MKDIR2args *objp) return TRUE; } -bool_t +uint32_t zdr_MKDIR2resok (ZDR *zdrs, MKDIR2resok *objp) { register int32_t *buf; @@ -2884,7 +2884,7 @@ zdr_MKDIR2resok (ZDR *zdrs, MKDIR2resok *objp) return TRUE; } -bool_t +uint32_t zdr_MKDIR2res (ZDR *zdrs, MKDIR2res *objp) { register int32_t *buf; @@ -2903,7 +2903,7 @@ zdr_MKDIR2res (ZDR *zdrs, MKDIR2res *objp) return TRUE; } -bool_t +uint32_t zdr_RMDIR2args (ZDR *zdrs, RMDIR2args *objp) { register int32_t *buf; @@ -2914,7 +2914,7 @@ zdr_RMDIR2args (ZDR *zdrs, RMDIR2args *objp) return TRUE; } -bool_t +uint32_t zdr_RMDIR2res (ZDR *zdrs, RMDIR2res *objp) { register int32_t *buf; @@ -2925,7 +2925,7 @@ zdr_RMDIR2res (ZDR *zdrs, RMDIR2res *objp) return TRUE; } -bool_t +uint32_t zdr_READDIR2args (ZDR *zdrs, READDIR2args *objp) { register int32_t *buf; @@ -2940,7 +2940,7 @@ zdr_READDIR2args (ZDR *zdrs, READDIR2args *objp) return TRUE; } -bool_t +uint32_t zdr_READDIR2resok (ZDR *zdrs, READDIR2resok *objp) { register int32_t *buf; @@ -2953,7 +2953,7 @@ zdr_READDIR2resok (ZDR *zdrs, READDIR2resok *objp) return TRUE; } -bool_t +uint32_t zdr_READDIR2res (ZDR *zdrs, READDIR2res *objp) { register int32_t *buf; @@ -2972,7 +2972,7 @@ zdr_READDIR2res (ZDR *zdrs, READDIR2res *objp) return TRUE; } -bool_t +uint32_t zdr_STATFS2args (ZDR *zdrs, STATFS2args *objp) { register int32_t *buf; @@ -2983,7 +2983,7 @@ zdr_STATFS2args (ZDR *zdrs, STATFS2args *objp) return TRUE; } -bool_t +uint32_t zdr_STATFS2resok (ZDR *zdrs, STATFS2resok *objp) { register int32_t *buf; @@ -3047,7 +3047,7 @@ zdr_STATFS2resok (ZDR *zdrs, STATFS2resok *objp) return TRUE; } -bool_t +uint32_t zdr_STATFS2res (ZDR *zdrs, STATFS2res *objp) { register int32_t *buf; @@ -3066,7 +3066,7 @@ zdr_STATFS2res (ZDR *zdrs, STATFS2res *objp) return TRUE; } -bool_t +uint32_t zdr_nfsacl_type (ZDR *zdrs, nfsacl_type *objp) { register int32_t *buf; @@ -3077,7 +3077,7 @@ zdr_nfsacl_type (ZDR *zdrs, nfsacl_type *objp) return TRUE; } -bool_t +uint32_t zdr_nfsacl_ace (ZDR *zdrs, nfsacl_ace *objp) { register int32_t *buf; @@ -3092,7 +3092,7 @@ zdr_nfsacl_ace (ZDR *zdrs, nfsacl_ace *objp) return TRUE; } -bool_t +uint32_t zdr_GETACL3args (ZDR *zdrs, GETACL3args *objp) { register int32_t *buf; @@ -3105,7 +3105,7 @@ zdr_GETACL3args (ZDR *zdrs, GETACL3args *objp) return TRUE; } -bool_t +uint32_t zdr_GETACL3resok (ZDR *zdrs, GETACL3resok *objp) { register int32_t *buf; @@ -3128,7 +3128,7 @@ zdr_GETACL3resok (ZDR *zdrs, GETACL3resok *objp) return TRUE; } -bool_t +uint32_t zdr_GETACL3res (ZDR *zdrs, GETACL3res *objp) { register int32_t *buf; @@ -3147,7 +3147,7 @@ zdr_GETACL3res (ZDR *zdrs, GETACL3res *objp) return TRUE; } -bool_t +uint32_t zdr_SETACL3args (ZDR *zdrs, SETACL3args *objp) { register int32_t *buf; @@ -3170,7 +3170,7 @@ zdr_SETACL3args (ZDR *zdrs, SETACL3args *objp) return TRUE; } -bool_t +uint32_t zdr_SETACL3resok (ZDR *zdrs, SETACL3resok *objp) { register int32_t *buf; @@ -3181,7 +3181,7 @@ zdr_SETACL3resok (ZDR *zdrs, SETACL3resok *objp) return TRUE; } -bool_t +uint32_t zdr_SETACL3res (ZDR *zdrs, SETACL3res *objp) { register int32_t *buf; diff --git a/nfs/libnfs-raw-nfs.h b/nfs/libnfs-raw-nfs.h index bdac7f4..8837d3d 100644 --- a/nfs/libnfs-raw-nfs.h +++ b/nfs/libnfs-raw-nfs.h @@ -128,7 +128,7 @@ struct fattr3 { typedef struct fattr3 fattr3; struct post_op_attr { - bool_t attributes_follow; + uint32_t attributes_follow; union { fattr3 attributes; } post_op_attr_u; @@ -187,7 +187,7 @@ struct wcc_attr { typedef struct wcc_attr wcc_attr; struct pre_op_attr { - bool_t attributes_follow; + uint32_t attributes_follow; union { wcc_attr attributes; } pre_op_attr_u; @@ -347,7 +347,7 @@ enum time_how { typedef enum time_how time_how; struct set_mode3 { - bool_t set_it; + uint32_t set_it; union { mode3 mode; } set_mode3_u; @@ -355,7 +355,7 @@ struct set_mode3 { typedef struct set_mode3 set_mode3; struct set_uid3 { - bool_t set_it; + uint32_t set_it; union { uid3 uid; } set_uid3_u; @@ -363,7 +363,7 @@ struct set_uid3 { typedef struct set_uid3 set_uid3; struct set_gid3 { - bool_t set_it; + uint32_t set_it; union { gid3 gid; } set_gid3_u; @@ -371,7 +371,7 @@ struct set_gid3 { typedef struct set_gid3 set_gid3; struct set_size3 { - bool_t set_it; + uint32_t set_it; union { size3 size; } set_size3_u; @@ -430,7 +430,7 @@ struct CREATE3args { typedef struct CREATE3args CREATE3args; struct post_op_fh3 { - bool_t handle_follows; + uint32_t handle_follows; union { nfs_fh3 handle; } post_op_fh3_u; @@ -492,7 +492,7 @@ typedef struct READ3args READ3args; struct READ3resok { post_op_attr file_attributes; count3 count; - bool_t eof; + uint32_t eof; struct { u_int data_len; char *data_val; @@ -592,10 +592,10 @@ struct PATHCONF3resok { post_op_attr obj_attributes; u_int linkmax; u_int name_max; - bool_t no_trunc; - bool_t chown_restricted; - bool_t case_insensitive; - bool_t case_preserving; + uint32_t no_trunc; + uint32_t chown_restricted; + uint32_t case_insensitive; + uint32_t case_preserving; }; typedef struct PATHCONF3resok PATHCONF3resok; @@ -816,7 +816,7 @@ typedef struct entryplus3 entryplus3; struct dirlistplus3 { entryplus3 *entries; - bool_t eof; + uint32_t eof; }; typedef struct dirlistplus3 dirlistplus3; @@ -859,7 +859,7 @@ typedef struct entry3 entry3; struct dirlist3 { entry3 *entries; - bool_t eof; + uint32_t eof; }; typedef struct dirlist3 dirlist3; @@ -912,7 +912,7 @@ struct LINK3res { typedef struct LINK3res LINK3res; struct sattrguard3 { - bool_t check; + uint32_t check; union { nfstime3 obj_ctime; } sattrguard3_u; @@ -1236,7 +1236,7 @@ typedef struct READDIR2args READDIR2args; struct READDIR2resok { entry2 *entries; - bool_t eof; + uint32_t eof; }; typedef struct READDIR2resok READDIR2resok; @@ -1637,378 +1637,378 @@ extern int nfsacl_program_3_freeresult (); /* the zdr functions */ #if defined(__STDC__) || defined(__cplusplus) -extern bool_t zdr_cookieverf3 (ZDR *, cookieverf3); -extern bool_t zdr_cookie3 (ZDR *, cookie3*); -extern bool_t zdr_nfs_fh3 (ZDR *, nfs_fh3*); -extern bool_t zdr_filename3 (ZDR *, filename3*); -extern bool_t zdr_diropargs3 (ZDR *, diropargs3*); -extern bool_t zdr_ftype3 (ZDR *, ftype3*); -extern bool_t zdr_mode3 (ZDR *, mode3*); -extern bool_t zdr_uid3 (ZDR *, uid3*); -extern bool_t zdr_gid3 (ZDR *, gid3*); -extern bool_t zdr_size3 (ZDR *, size3*); -extern bool_t zdr_fileid3 (ZDR *, fileid3*); -extern bool_t zdr_specdata3 (ZDR *, specdata3*); -extern bool_t zdr_nfstime3 (ZDR *, nfstime3*); -extern bool_t zdr_fattr3 (ZDR *, fattr3*); -extern bool_t zdr_post_op_attr (ZDR *, post_op_attr*); -extern bool_t zdr_nfsstat3 (ZDR *, nfsstat3*); -extern bool_t zdr_stable_how (ZDR *, stable_how*); -extern bool_t zdr_offset3 (ZDR *, offset3*); -extern bool_t zdr_count3 (ZDR *, count3*); -extern bool_t zdr_wcc_attr (ZDR *, wcc_attr*); -extern bool_t zdr_pre_op_attr (ZDR *, pre_op_attr*); -extern bool_t zdr_wcc_data (ZDR *, wcc_data*); -extern bool_t zdr_WRITE3args (ZDR *, WRITE3args*); -extern bool_t zdr_writeverf3 (ZDR *, writeverf3); -extern bool_t zdr_WRITE3resok (ZDR *, WRITE3resok*); -extern bool_t zdr_WRITE3resfail (ZDR *, WRITE3resfail*); -extern bool_t zdr_WRITE3res (ZDR *, WRITE3res*); -extern bool_t zdr_LOOKUP3args (ZDR *, LOOKUP3args*); -extern bool_t zdr_LOOKUP3resok (ZDR *, LOOKUP3resok*); -extern bool_t zdr_LOOKUP3resfail (ZDR *, LOOKUP3resfail*); -extern bool_t zdr_LOOKUP3res (ZDR *, LOOKUP3res*); -extern bool_t zdr_COMMIT3args (ZDR *, COMMIT3args*); -extern bool_t zdr_COMMIT3resok (ZDR *, COMMIT3resok*); -extern bool_t zdr_COMMIT3resfail (ZDR *, COMMIT3resfail*); -extern bool_t zdr_COMMIT3res (ZDR *, COMMIT3res*); -extern bool_t zdr_ACCESS3args (ZDR *, ACCESS3args*); -extern bool_t zdr_ACCESS3resok (ZDR *, ACCESS3resok*); -extern bool_t zdr_ACCESS3resfail (ZDR *, ACCESS3resfail*); -extern bool_t zdr_ACCESS3res (ZDR *, ACCESS3res*); -extern bool_t zdr_GETATTR3args (ZDR *, GETATTR3args*); -extern bool_t zdr_GETATTR3resok (ZDR *, GETATTR3resok*); -extern bool_t zdr_GETATTR3res (ZDR *, GETATTR3res*); -extern bool_t zdr_time_how (ZDR *, time_how*); -extern bool_t zdr_set_mode3 (ZDR *, set_mode3*); -extern bool_t zdr_set_uid3 (ZDR *, set_uid3*); -extern bool_t zdr_set_gid3 (ZDR *, set_gid3*); -extern bool_t zdr_set_size3 (ZDR *, set_size3*); -extern bool_t zdr_set_atime (ZDR *, set_atime*); -extern bool_t zdr_set_mtime (ZDR *, set_mtime*); -extern bool_t zdr_sattr3 (ZDR *, sattr3*); -extern bool_t zdr_createmode3 (ZDR *, createmode3*); -extern bool_t zdr_createverf3 (ZDR *, createverf3); -extern bool_t zdr_createhow3 (ZDR *, createhow3*); -extern bool_t zdr_CREATE3args (ZDR *, CREATE3args*); -extern bool_t zdr_post_op_fh3 (ZDR *, post_op_fh3*); -extern bool_t zdr_CREATE3resok (ZDR *, CREATE3resok*); -extern bool_t zdr_CREATE3resfail (ZDR *, CREATE3resfail*); -extern bool_t zdr_CREATE3res (ZDR *, CREATE3res*); -extern bool_t zdr_REMOVE3args (ZDR *, REMOVE3args*); -extern bool_t zdr_REMOVE3resok (ZDR *, REMOVE3resok*); -extern bool_t zdr_REMOVE3resfail (ZDR *, REMOVE3resfail*); -extern bool_t zdr_REMOVE3res (ZDR *, REMOVE3res*); -extern bool_t zdr_READ3args (ZDR *, READ3args*); -extern bool_t zdr_READ3resok (ZDR *, READ3resok*); -extern bool_t zdr_READ3resfail (ZDR *, READ3resfail*); -extern bool_t zdr_READ3res (ZDR *, READ3res*); -extern bool_t zdr_FSINFO3args (ZDR *, FSINFO3args*); -extern bool_t zdr_FSINFO3resok (ZDR *, FSINFO3resok*); -extern bool_t zdr_FSINFO3resfail (ZDR *, FSINFO3resfail*); -extern bool_t zdr_FSINFO3res (ZDR *, FSINFO3res*); -extern bool_t zdr_FSSTAT3args (ZDR *, FSSTAT3args*); -extern bool_t zdr_FSSTAT3resok (ZDR *, FSSTAT3resok*); -extern bool_t zdr_FSSTAT3resfail (ZDR *, FSSTAT3resfail*); -extern bool_t zdr_FSSTAT3res (ZDR *, FSSTAT3res*); -extern bool_t zdr_PATHCONF3args (ZDR *, PATHCONF3args*); -extern bool_t zdr_PATHCONF3resok (ZDR *, PATHCONF3resok*); -extern bool_t zdr_PATHCONF3resfail (ZDR *, PATHCONF3resfail*); -extern bool_t zdr_PATHCONF3res (ZDR *, PATHCONF3res*); -extern bool_t zdr_nfspath3 (ZDR *, nfspath3*); -extern bool_t zdr_symlinkdata3 (ZDR *, symlinkdata3*); -extern bool_t zdr_SYMLINK3args (ZDR *, SYMLINK3args*); -extern bool_t zdr_SYMLINK3resok (ZDR *, SYMLINK3resok*); -extern bool_t zdr_SYMLINK3resfail (ZDR *, SYMLINK3resfail*); -extern bool_t zdr_SYMLINK3res (ZDR *, SYMLINK3res*); -extern bool_t zdr_READLINK3args (ZDR *, READLINK3args*); -extern bool_t zdr_READLINK3resok (ZDR *, READLINK3resok*); -extern bool_t zdr_READLINK3resfail (ZDR *, READLINK3resfail*); -extern bool_t zdr_READLINK3res (ZDR *, READLINK3res*); -extern bool_t zdr_devicedata3 (ZDR *, devicedata3*); -extern bool_t zdr_mknoddata3 (ZDR *, mknoddata3*); -extern bool_t zdr_MKNOD3args (ZDR *, MKNOD3args*); -extern bool_t zdr_MKNOD3resok (ZDR *, MKNOD3resok*); -extern bool_t zdr_MKNOD3resfail (ZDR *, MKNOD3resfail*); -extern bool_t zdr_MKNOD3res (ZDR *, MKNOD3res*); -extern bool_t zdr_MKDIR3args (ZDR *, MKDIR3args*); -extern bool_t zdr_MKDIR3resok (ZDR *, MKDIR3resok*); -extern bool_t zdr_MKDIR3resfail (ZDR *, MKDIR3resfail*); -extern bool_t zdr_MKDIR3res (ZDR *, MKDIR3res*); -extern bool_t zdr_RMDIR3args (ZDR *, RMDIR3args*); -extern bool_t zdr_RMDIR3resok (ZDR *, RMDIR3resok*); -extern bool_t zdr_RMDIR3resfail (ZDR *, RMDIR3resfail*); -extern bool_t zdr_RMDIR3res (ZDR *, RMDIR3res*); -extern bool_t zdr_RENAME3args (ZDR *, RENAME3args*); -extern bool_t zdr_RENAME3resok (ZDR *, RENAME3resok*); -extern bool_t zdr_RENAME3resfail (ZDR *, RENAME3resfail*); -extern bool_t zdr_RENAME3res (ZDR *, RENAME3res*); -extern bool_t zdr_READDIRPLUS3args (ZDR *, READDIRPLUS3args*); -extern bool_t zdr_entryplus3 (ZDR *, entryplus3*); -extern bool_t zdr_dirlistplus3 (ZDR *, dirlistplus3*); -extern bool_t zdr_READDIRPLUS3resok (ZDR *, READDIRPLUS3resok*); -extern bool_t zdr_READDIRPLUS3resfail (ZDR *, READDIRPLUS3resfail*); -extern bool_t zdr_READDIRPLUS3res (ZDR *, READDIRPLUS3res*); -extern bool_t zdr_READDIR3args (ZDR *, READDIR3args*); -extern bool_t zdr_entry3 (ZDR *, entry3*); -extern bool_t zdr_dirlist3 (ZDR *, dirlist3*); -extern bool_t zdr_READDIR3resok (ZDR *, READDIR3resok*); -extern bool_t zdr_READDIR3resfail (ZDR *, READDIR3resfail*); -extern bool_t zdr_READDIR3res (ZDR *, READDIR3res*); -extern bool_t zdr_LINK3args (ZDR *, LINK3args*); -extern bool_t zdr_LINK3resok (ZDR *, LINK3resok*); -extern bool_t zdr_LINK3resfail (ZDR *, LINK3resfail*); -extern bool_t zdr_LINK3res (ZDR *, LINK3res*); -extern bool_t zdr_sattrguard3 (ZDR *, sattrguard3*); -extern bool_t zdr_SETATTR3args (ZDR *, SETATTR3args*); -extern bool_t zdr_SETATTR3resok (ZDR *, SETATTR3resok*); -extern bool_t zdr_SETATTR3resfail (ZDR *, SETATTR3resfail*); -extern bool_t zdr_SETATTR3res (ZDR *, SETATTR3res*); -extern bool_t zdr_fhandle2 (ZDR *, fhandle2); -extern bool_t zdr_ftype2 (ZDR *, ftype2*); -extern bool_t zdr_fattr2 (ZDR *, fattr2*); -extern bool_t zdr_sattr2 (ZDR *, sattr2*); -extern bool_t zdr_filename2 (ZDR *, filename2*); -extern bool_t zdr_path2 (ZDR *, path2*); -extern bool_t zdr_nfsdata2 (ZDR *, nfsdata2*); -extern bool_t zdr_nfscookie2 (ZDR *, nfscookie2); -extern bool_t zdr_entry2 (ZDR *, entry2*); -extern bool_t zdr_diropargs2 (ZDR *, diropargs2*); -extern bool_t zdr_GETATTR2args (ZDR *, GETATTR2args*); -extern bool_t zdr_GETATTR2resok (ZDR *, GETATTR2resok*); -extern bool_t zdr_GETATTR2res (ZDR *, GETATTR2res*); -extern bool_t zdr_SETATTR2args (ZDR *, SETATTR2args*); -extern bool_t zdr_SETATTR2resok (ZDR *, SETATTR2resok*); -extern bool_t zdr_SETATTR2res (ZDR *, SETATTR2res*); -extern bool_t zdr_LOOKUP2args (ZDR *, LOOKUP2args*); -extern bool_t zdr_LOOKUP2resok (ZDR *, LOOKUP2resok*); -extern bool_t zdr_LOOKUP2res (ZDR *, LOOKUP2res*); -extern bool_t zdr_READLINK2args (ZDR *, READLINK2args*); -extern bool_t zdr_READLINK2resok (ZDR *, READLINK2resok*); -extern bool_t zdr_READLINK2res (ZDR *, READLINK2res*); -extern bool_t zdr_READ2args (ZDR *, READ2args*); -extern bool_t zdr_READ2resok (ZDR *, READ2resok*); -extern bool_t zdr_READ2res (ZDR *, READ2res*); -extern bool_t zdr_WRITE2args (ZDR *, WRITE2args*); -extern bool_t zdr_WRITE2resok (ZDR *, WRITE2resok*); -extern bool_t zdr_WRITE2res (ZDR *, WRITE2res*); -extern bool_t zdr_CREATE2args (ZDR *, CREATE2args*); -extern bool_t zdr_CREATE2resok (ZDR *, CREATE2resok*); -extern bool_t zdr_CREATE2res (ZDR *, CREATE2res*); -extern bool_t zdr_REMOVE2args (ZDR *, REMOVE2args*); -extern bool_t zdr_REMOVE2res (ZDR *, REMOVE2res*); -extern bool_t zdr_RENAME2args (ZDR *, RENAME2args*); -extern bool_t zdr_RENAME2res (ZDR *, RENAME2res*); -extern bool_t zdr_LINK2args (ZDR *, LINK2args*); -extern bool_t zdr_LINK2res (ZDR *, LINK2res*); -extern bool_t zdr_SYMLINK2args (ZDR *, SYMLINK2args*); -extern bool_t zdr_SYMLINK2res (ZDR *, SYMLINK2res*); -extern bool_t zdr_MKDIR2args (ZDR *, MKDIR2args*); -extern bool_t zdr_MKDIR2resok (ZDR *, MKDIR2resok*); -extern bool_t zdr_MKDIR2res (ZDR *, MKDIR2res*); -extern bool_t zdr_RMDIR2args (ZDR *, RMDIR2args*); -extern bool_t zdr_RMDIR2res (ZDR *, RMDIR2res*); -extern bool_t zdr_READDIR2args (ZDR *, READDIR2args*); -extern bool_t zdr_READDIR2resok (ZDR *, READDIR2resok*); -extern bool_t zdr_READDIR2res (ZDR *, READDIR2res*); -extern bool_t zdr_STATFS2args (ZDR *, STATFS2args*); -extern bool_t zdr_STATFS2resok (ZDR *, STATFS2resok*); -extern bool_t zdr_STATFS2res (ZDR *, STATFS2res*); -extern bool_t zdr_nfsacl_type (ZDR *, nfsacl_type*); -extern bool_t zdr_nfsacl_ace (ZDR *, nfsacl_ace*); -extern bool_t zdr_GETACL3args (ZDR *, GETACL3args*); -extern bool_t zdr_GETACL3resok (ZDR *, GETACL3resok*); -extern bool_t zdr_GETACL3res (ZDR *, GETACL3res*); -extern bool_t zdr_SETACL3args (ZDR *, SETACL3args*); -extern bool_t zdr_SETACL3resok (ZDR *, SETACL3resok*); -extern bool_t zdr_SETACL3res (ZDR *, SETACL3res*); +extern uint32_t zdr_cookieverf3 (ZDR *, cookieverf3); +extern uint32_t zdr_cookie3 (ZDR *, cookie3*); +extern uint32_t zdr_nfs_fh3 (ZDR *, nfs_fh3*); +extern uint32_t zdr_filename3 (ZDR *, filename3*); +extern uint32_t zdr_diropargs3 (ZDR *, diropargs3*); +extern uint32_t zdr_ftype3 (ZDR *, ftype3*); +extern uint32_t zdr_mode3 (ZDR *, mode3*); +extern uint32_t zdr_uid3 (ZDR *, uid3*); +extern uint32_t zdr_gid3 (ZDR *, gid3*); +extern uint32_t zdr_size3 (ZDR *, size3*); +extern uint32_t zdr_fileid3 (ZDR *, fileid3*); +extern uint32_t zdr_specdata3 (ZDR *, specdata3*); +extern uint32_t zdr_nfstime3 (ZDR *, nfstime3*); +extern uint32_t zdr_fattr3 (ZDR *, fattr3*); +extern uint32_t zdr_post_op_attr (ZDR *, post_op_attr*); +extern uint32_t zdr_nfsstat3 (ZDR *, nfsstat3*); +extern uint32_t zdr_stable_how (ZDR *, stable_how*); +extern uint32_t zdr_offset3 (ZDR *, offset3*); +extern uint32_t zdr_count3 (ZDR *, count3*); +extern uint32_t zdr_wcc_attr (ZDR *, wcc_attr*); +extern uint32_t zdr_pre_op_attr (ZDR *, pre_op_attr*); +extern uint32_t zdr_wcc_data (ZDR *, wcc_data*); +extern uint32_t zdr_WRITE3args (ZDR *, WRITE3args*); +extern uint32_t zdr_writeverf3 (ZDR *, writeverf3); +extern uint32_t zdr_WRITE3resok (ZDR *, WRITE3resok*); +extern uint32_t zdr_WRITE3resfail (ZDR *, WRITE3resfail*); +extern uint32_t zdr_WRITE3res (ZDR *, WRITE3res*); +extern uint32_t zdr_LOOKUP3args (ZDR *, LOOKUP3args*); +extern uint32_t zdr_LOOKUP3resok (ZDR *, LOOKUP3resok*); +extern uint32_t zdr_LOOKUP3resfail (ZDR *, LOOKUP3resfail*); +extern uint32_t zdr_LOOKUP3res (ZDR *, LOOKUP3res*); +extern uint32_t zdr_COMMIT3args (ZDR *, COMMIT3args*); +extern uint32_t zdr_COMMIT3resok (ZDR *, COMMIT3resok*); +extern uint32_t zdr_COMMIT3resfail (ZDR *, COMMIT3resfail*); +extern uint32_t zdr_COMMIT3res (ZDR *, COMMIT3res*); +extern uint32_t zdr_ACCESS3args (ZDR *, ACCESS3args*); +extern uint32_t zdr_ACCESS3resok (ZDR *, ACCESS3resok*); +extern uint32_t zdr_ACCESS3resfail (ZDR *, ACCESS3resfail*); +extern uint32_t zdr_ACCESS3res (ZDR *, ACCESS3res*); +extern uint32_t zdr_GETATTR3args (ZDR *, GETATTR3args*); +extern uint32_t zdr_GETATTR3resok (ZDR *, GETATTR3resok*); +extern uint32_t zdr_GETATTR3res (ZDR *, GETATTR3res*); +extern uint32_t zdr_time_how (ZDR *, time_how*); +extern uint32_t zdr_set_mode3 (ZDR *, set_mode3*); +extern uint32_t zdr_set_uid3 (ZDR *, set_uid3*); +extern uint32_t zdr_set_gid3 (ZDR *, set_gid3*); +extern uint32_t zdr_set_size3 (ZDR *, set_size3*); +extern uint32_t zdr_set_atime (ZDR *, set_atime*); +extern uint32_t zdr_set_mtime (ZDR *, set_mtime*); +extern uint32_t zdr_sattr3 (ZDR *, sattr3*); +extern uint32_t zdr_createmode3 (ZDR *, createmode3*); +extern uint32_t zdr_createverf3 (ZDR *, createverf3); +extern uint32_t zdr_createhow3 (ZDR *, createhow3*); +extern uint32_t zdr_CREATE3args (ZDR *, CREATE3args*); +extern uint32_t zdr_post_op_fh3 (ZDR *, post_op_fh3*); +extern uint32_t zdr_CREATE3resok (ZDR *, CREATE3resok*); +extern uint32_t zdr_CREATE3resfail (ZDR *, CREATE3resfail*); +extern uint32_t zdr_CREATE3res (ZDR *, CREATE3res*); +extern uint32_t zdr_REMOVE3args (ZDR *, REMOVE3args*); +extern uint32_t zdr_REMOVE3resok (ZDR *, REMOVE3resok*); +extern uint32_t zdr_REMOVE3resfail (ZDR *, REMOVE3resfail*); +extern uint32_t zdr_REMOVE3res (ZDR *, REMOVE3res*); +extern uint32_t zdr_READ3args (ZDR *, READ3args*); +extern uint32_t zdr_READ3resok (ZDR *, READ3resok*); +extern uint32_t zdr_READ3resfail (ZDR *, READ3resfail*); +extern uint32_t zdr_READ3res (ZDR *, READ3res*); +extern uint32_t zdr_FSINFO3args (ZDR *, FSINFO3args*); +extern uint32_t zdr_FSINFO3resok (ZDR *, FSINFO3resok*); +extern uint32_t zdr_FSINFO3resfail (ZDR *, FSINFO3resfail*); +extern uint32_t zdr_FSINFO3res (ZDR *, FSINFO3res*); +extern uint32_t zdr_FSSTAT3args (ZDR *, FSSTAT3args*); +extern uint32_t zdr_FSSTAT3resok (ZDR *, FSSTAT3resok*); +extern uint32_t zdr_FSSTAT3resfail (ZDR *, FSSTAT3resfail*); +extern uint32_t zdr_FSSTAT3res (ZDR *, FSSTAT3res*); +extern uint32_t zdr_PATHCONF3args (ZDR *, PATHCONF3args*); +extern uint32_t zdr_PATHCONF3resok (ZDR *, PATHCONF3resok*); +extern uint32_t zdr_PATHCONF3resfail (ZDR *, PATHCONF3resfail*); +extern uint32_t zdr_PATHCONF3res (ZDR *, PATHCONF3res*); +extern uint32_t zdr_nfspath3 (ZDR *, nfspath3*); +extern uint32_t zdr_symlinkdata3 (ZDR *, symlinkdata3*); +extern uint32_t zdr_SYMLINK3args (ZDR *, SYMLINK3args*); +extern uint32_t zdr_SYMLINK3resok (ZDR *, SYMLINK3resok*); +extern uint32_t zdr_SYMLINK3resfail (ZDR *, SYMLINK3resfail*); +extern uint32_t zdr_SYMLINK3res (ZDR *, SYMLINK3res*); +extern uint32_t zdr_READLINK3args (ZDR *, READLINK3args*); +extern uint32_t zdr_READLINK3resok (ZDR *, READLINK3resok*); +extern uint32_t zdr_READLINK3resfail (ZDR *, READLINK3resfail*); +extern uint32_t zdr_READLINK3res (ZDR *, READLINK3res*); +extern uint32_t zdr_devicedata3 (ZDR *, devicedata3*); +extern uint32_t zdr_mknoddata3 (ZDR *, mknoddata3*); +extern uint32_t zdr_MKNOD3args (ZDR *, MKNOD3args*); +extern uint32_t zdr_MKNOD3resok (ZDR *, MKNOD3resok*); +extern uint32_t zdr_MKNOD3resfail (ZDR *, MKNOD3resfail*); +extern uint32_t zdr_MKNOD3res (ZDR *, MKNOD3res*); +extern uint32_t zdr_MKDIR3args (ZDR *, MKDIR3args*); +extern uint32_t zdr_MKDIR3resok (ZDR *, MKDIR3resok*); +extern uint32_t zdr_MKDIR3resfail (ZDR *, MKDIR3resfail*); +extern uint32_t zdr_MKDIR3res (ZDR *, MKDIR3res*); +extern uint32_t zdr_RMDIR3args (ZDR *, RMDIR3args*); +extern uint32_t zdr_RMDIR3resok (ZDR *, RMDIR3resok*); +extern uint32_t zdr_RMDIR3resfail (ZDR *, RMDIR3resfail*); +extern uint32_t zdr_RMDIR3res (ZDR *, RMDIR3res*); +extern uint32_t zdr_RENAME3args (ZDR *, RENAME3args*); +extern uint32_t zdr_RENAME3resok (ZDR *, RENAME3resok*); +extern uint32_t zdr_RENAME3resfail (ZDR *, RENAME3resfail*); +extern uint32_t zdr_RENAME3res (ZDR *, RENAME3res*); +extern uint32_t zdr_READDIRPLUS3args (ZDR *, READDIRPLUS3args*); +extern uint32_t zdr_entryplus3 (ZDR *, entryplus3*); +extern uint32_t zdr_dirlistplus3 (ZDR *, dirlistplus3*); +extern uint32_t zdr_READDIRPLUS3resok (ZDR *, READDIRPLUS3resok*); +extern uint32_t zdr_READDIRPLUS3resfail (ZDR *, READDIRPLUS3resfail*); +extern uint32_t zdr_READDIRPLUS3res (ZDR *, READDIRPLUS3res*); +extern uint32_t zdr_READDIR3args (ZDR *, READDIR3args*); +extern uint32_t zdr_entry3 (ZDR *, entry3*); +extern uint32_t zdr_dirlist3 (ZDR *, dirlist3*); +extern uint32_t zdr_READDIR3resok (ZDR *, READDIR3resok*); +extern uint32_t zdr_READDIR3resfail (ZDR *, READDIR3resfail*); +extern uint32_t zdr_READDIR3res (ZDR *, READDIR3res*); +extern uint32_t zdr_LINK3args (ZDR *, LINK3args*); +extern uint32_t zdr_LINK3resok (ZDR *, LINK3resok*); +extern uint32_t zdr_LINK3resfail (ZDR *, LINK3resfail*); +extern uint32_t zdr_LINK3res (ZDR *, LINK3res*); +extern uint32_t zdr_sattrguard3 (ZDR *, sattrguard3*); +extern uint32_t zdr_SETATTR3args (ZDR *, SETATTR3args*); +extern uint32_t zdr_SETATTR3resok (ZDR *, SETATTR3resok*); +extern uint32_t zdr_SETATTR3resfail (ZDR *, SETATTR3resfail*); +extern uint32_t zdr_SETATTR3res (ZDR *, SETATTR3res*); +extern uint32_t zdr_fhandle2 (ZDR *, fhandle2); +extern uint32_t zdr_ftype2 (ZDR *, ftype2*); +extern uint32_t zdr_fattr2 (ZDR *, fattr2*); +extern uint32_t zdr_sattr2 (ZDR *, sattr2*); +extern uint32_t zdr_filename2 (ZDR *, filename2*); +extern uint32_t zdr_path2 (ZDR *, path2*); +extern uint32_t zdr_nfsdata2 (ZDR *, nfsdata2*); +extern uint32_t zdr_nfscookie2 (ZDR *, nfscookie2); +extern uint32_t zdr_entry2 (ZDR *, entry2*); +extern uint32_t zdr_diropargs2 (ZDR *, diropargs2*); +extern uint32_t zdr_GETATTR2args (ZDR *, GETATTR2args*); +extern uint32_t zdr_GETATTR2resok (ZDR *, GETATTR2resok*); +extern uint32_t zdr_GETATTR2res (ZDR *, GETATTR2res*); +extern uint32_t zdr_SETATTR2args (ZDR *, SETATTR2args*); +extern uint32_t zdr_SETATTR2resok (ZDR *, SETATTR2resok*); +extern uint32_t zdr_SETATTR2res (ZDR *, SETATTR2res*); +extern uint32_t zdr_LOOKUP2args (ZDR *, LOOKUP2args*); +extern uint32_t zdr_LOOKUP2resok (ZDR *, LOOKUP2resok*); +extern uint32_t zdr_LOOKUP2res (ZDR *, LOOKUP2res*); +extern uint32_t zdr_READLINK2args (ZDR *, READLINK2args*); +extern uint32_t zdr_READLINK2resok (ZDR *, READLINK2resok*); +extern uint32_t zdr_READLINK2res (ZDR *, READLINK2res*); +extern uint32_t zdr_READ2args (ZDR *, READ2args*); +extern uint32_t zdr_READ2resok (ZDR *, READ2resok*); +extern uint32_t zdr_READ2res (ZDR *, READ2res*); +extern uint32_t zdr_WRITE2args (ZDR *, WRITE2args*); +extern uint32_t zdr_WRITE2resok (ZDR *, WRITE2resok*); +extern uint32_t zdr_WRITE2res (ZDR *, WRITE2res*); +extern uint32_t zdr_CREATE2args (ZDR *, CREATE2args*); +extern uint32_t zdr_CREATE2resok (ZDR *, CREATE2resok*); +extern uint32_t zdr_CREATE2res (ZDR *, CREATE2res*); +extern uint32_t zdr_REMOVE2args (ZDR *, REMOVE2args*); +extern uint32_t zdr_REMOVE2res (ZDR *, REMOVE2res*); +extern uint32_t zdr_RENAME2args (ZDR *, RENAME2args*); +extern uint32_t zdr_RENAME2res (ZDR *, RENAME2res*); +extern uint32_t zdr_LINK2args (ZDR *, LINK2args*); +extern uint32_t zdr_LINK2res (ZDR *, LINK2res*); +extern uint32_t zdr_SYMLINK2args (ZDR *, SYMLINK2args*); +extern uint32_t zdr_SYMLINK2res (ZDR *, SYMLINK2res*); +extern uint32_t zdr_MKDIR2args (ZDR *, MKDIR2args*); +extern uint32_t zdr_MKDIR2resok (ZDR *, MKDIR2resok*); +extern uint32_t zdr_MKDIR2res (ZDR *, MKDIR2res*); +extern uint32_t zdr_RMDIR2args (ZDR *, RMDIR2args*); +extern uint32_t zdr_RMDIR2res (ZDR *, RMDIR2res*); +extern uint32_t zdr_READDIR2args (ZDR *, READDIR2args*); +extern uint32_t zdr_READDIR2resok (ZDR *, READDIR2resok*); +extern uint32_t zdr_READDIR2res (ZDR *, READDIR2res*); +extern uint32_t zdr_STATFS2args (ZDR *, STATFS2args*); +extern uint32_t zdr_STATFS2resok (ZDR *, STATFS2resok*); +extern uint32_t zdr_STATFS2res (ZDR *, STATFS2res*); +extern uint32_t zdr_nfsacl_type (ZDR *, nfsacl_type*); +extern uint32_t zdr_nfsacl_ace (ZDR *, nfsacl_ace*); +extern uint32_t zdr_GETACL3args (ZDR *, GETACL3args*); +extern uint32_t zdr_GETACL3resok (ZDR *, GETACL3resok*); +extern uint32_t zdr_GETACL3res (ZDR *, GETACL3res*); +extern uint32_t zdr_SETACL3args (ZDR *, SETACL3args*); +extern uint32_t zdr_SETACL3resok (ZDR *, SETACL3resok*); +extern uint32_t zdr_SETACL3res (ZDR *, SETACL3res*); #else /* K&R C */ -extern bool_t zdr_cookieverf3 (); -extern bool_t zdr_cookie3 (); -extern bool_t zdr_nfs_fh3 (); -extern bool_t zdr_filename3 (); -extern bool_t zdr_diropargs3 (); -extern bool_t zdr_ftype3 (); -extern bool_t zdr_mode3 (); -extern bool_t zdr_uid3 (); -extern bool_t zdr_gid3 (); -extern bool_t zdr_size3 (); -extern bool_t zdr_fileid3 (); -extern bool_t zdr_specdata3 (); -extern bool_t zdr_nfstime3 (); -extern bool_t zdr_fattr3 (); -extern bool_t zdr_post_op_attr (); -extern bool_t zdr_nfsstat3 (); -extern bool_t zdr_stable_how (); -extern bool_t zdr_offset3 (); -extern bool_t zdr_count3 (); -extern bool_t zdr_wcc_attr (); -extern bool_t zdr_pre_op_attr (); -extern bool_t zdr_wcc_data (); -extern bool_t zdr_WRITE3args (); -extern bool_t zdr_writeverf3 (); -extern bool_t zdr_WRITE3resok (); -extern bool_t zdr_WRITE3resfail (); -extern bool_t zdr_WRITE3res (); -extern bool_t zdr_LOOKUP3args (); -extern bool_t zdr_LOOKUP3resok (); -extern bool_t zdr_LOOKUP3resfail (); -extern bool_t zdr_LOOKUP3res (); -extern bool_t zdr_COMMIT3args (); -extern bool_t zdr_COMMIT3resok (); -extern bool_t zdr_COMMIT3resfail (); -extern bool_t zdr_COMMIT3res (); -extern bool_t zdr_ACCESS3args (); -extern bool_t zdr_ACCESS3resok (); -extern bool_t zdr_ACCESS3resfail (); -extern bool_t zdr_ACCESS3res (); -extern bool_t zdr_GETATTR3args (); -extern bool_t zdr_GETATTR3resok (); -extern bool_t zdr_GETATTR3res (); -extern bool_t zdr_time_how (); -extern bool_t zdr_set_mode3 (); -extern bool_t zdr_set_uid3 (); -extern bool_t zdr_set_gid3 (); -extern bool_t zdr_set_size3 (); -extern bool_t zdr_set_atime (); -extern bool_t zdr_set_mtime (); -extern bool_t zdr_sattr3 (); -extern bool_t zdr_createmode3 (); -extern bool_t zdr_createverf3 (); -extern bool_t zdr_createhow3 (); -extern bool_t zdr_CREATE3args (); -extern bool_t zdr_post_op_fh3 (); -extern bool_t zdr_CREATE3resok (); -extern bool_t zdr_CREATE3resfail (); -extern bool_t zdr_CREATE3res (); -extern bool_t zdr_REMOVE3args (); -extern bool_t zdr_REMOVE3resok (); -extern bool_t zdr_REMOVE3resfail (); -extern bool_t zdr_REMOVE3res (); -extern bool_t zdr_READ3args (); -extern bool_t zdr_READ3resok (); -extern bool_t zdr_READ3resfail (); -extern bool_t zdr_READ3res (); -extern bool_t zdr_FSINFO3args (); -extern bool_t zdr_FSINFO3resok (); -extern bool_t zdr_FSINFO3resfail (); -extern bool_t zdr_FSINFO3res (); -extern bool_t zdr_FSSTAT3args (); -extern bool_t zdr_FSSTAT3resok (); -extern bool_t zdr_FSSTAT3resfail (); -extern bool_t zdr_FSSTAT3res (); -extern bool_t zdr_PATHCONF3args (); -extern bool_t zdr_PATHCONF3resok (); -extern bool_t zdr_PATHCONF3resfail (); -extern bool_t zdr_PATHCONF3res (); -extern bool_t zdr_nfspath3 (); -extern bool_t zdr_symlinkdata3 (); -extern bool_t zdr_SYMLINK3args (); -extern bool_t zdr_SYMLINK3resok (); -extern bool_t zdr_SYMLINK3resfail (); -extern bool_t zdr_SYMLINK3res (); -extern bool_t zdr_READLINK3args (); -extern bool_t zdr_READLINK3resok (); -extern bool_t zdr_READLINK3resfail (); -extern bool_t zdr_READLINK3res (); -extern bool_t zdr_devicedata3 (); -extern bool_t zdr_mknoddata3 (); -extern bool_t zdr_MKNOD3args (); -extern bool_t zdr_MKNOD3resok (); -extern bool_t zdr_MKNOD3resfail (); -extern bool_t zdr_MKNOD3res (); -extern bool_t zdr_MKDIR3args (); -extern bool_t zdr_MKDIR3resok (); -extern bool_t zdr_MKDIR3resfail (); -extern bool_t zdr_MKDIR3res (); -extern bool_t zdr_RMDIR3args (); -extern bool_t zdr_RMDIR3resok (); -extern bool_t zdr_RMDIR3resfail (); -extern bool_t zdr_RMDIR3res (); -extern bool_t zdr_RENAME3args (); -extern bool_t zdr_RENAME3resok (); -extern bool_t zdr_RENAME3resfail (); -extern bool_t zdr_RENAME3res (); -extern bool_t zdr_READDIRPLUS3args (); -extern bool_t zdr_entryplus3 (); -extern bool_t zdr_dirlistplus3 (); -extern bool_t zdr_READDIRPLUS3resok (); -extern bool_t zdr_READDIRPLUS3resfail (); -extern bool_t zdr_READDIRPLUS3res (); -extern bool_t zdr_READDIR3args (); -extern bool_t zdr_entry3 (); -extern bool_t zdr_dirlist3 (); -extern bool_t zdr_READDIR3resok (); -extern bool_t zdr_READDIR3resfail (); -extern bool_t zdr_READDIR3res (); -extern bool_t zdr_LINK3args (); -extern bool_t zdr_LINK3resok (); -extern bool_t zdr_LINK3resfail (); -extern bool_t zdr_LINK3res (); -extern bool_t zdr_sattrguard3 (); -extern bool_t zdr_SETATTR3args (); -extern bool_t zdr_SETATTR3resok (); -extern bool_t zdr_SETATTR3resfail (); -extern bool_t zdr_SETATTR3res (); -extern bool_t zdr_fhandle2 (); -extern bool_t zdr_ftype2 (); -extern bool_t zdr_fattr2 (); -extern bool_t zdr_sattr2 (); -extern bool_t zdr_filename2 (); -extern bool_t zdr_path2 (); -extern bool_t zdr_nfsdata2 (); -extern bool_t zdr_nfscookie2 (); -extern bool_t zdr_entry2 (); -extern bool_t zdr_diropargs2 (); -extern bool_t zdr_GETATTR2args (); -extern bool_t zdr_GETATTR2resok (); -extern bool_t zdr_GETATTR2res (); -extern bool_t zdr_SETATTR2args (); -extern bool_t zdr_SETATTR2resok (); -extern bool_t zdr_SETATTR2res (); -extern bool_t zdr_LOOKUP2args (); -extern bool_t zdr_LOOKUP2resok (); -extern bool_t zdr_LOOKUP2res (); -extern bool_t zdr_READLINK2args (); -extern bool_t zdr_READLINK2resok (); -extern bool_t zdr_READLINK2res (); -extern bool_t zdr_READ2args (); -extern bool_t zdr_READ2resok (); -extern bool_t zdr_READ2res (); -extern bool_t zdr_WRITE2args (); -extern bool_t zdr_WRITE2resok (); -extern bool_t zdr_WRITE2res (); -extern bool_t zdr_CREATE2args (); -extern bool_t zdr_CREATE2resok (); -extern bool_t zdr_CREATE2res (); -extern bool_t zdr_REMOVE2args (); -extern bool_t zdr_REMOVE2res (); -extern bool_t zdr_RENAME2args (); -extern bool_t zdr_RENAME2res (); -extern bool_t zdr_LINK2args (); -extern bool_t zdr_LINK2res (); -extern bool_t zdr_SYMLINK2args (); -extern bool_t zdr_SYMLINK2res (); -extern bool_t zdr_MKDIR2args (); -extern bool_t zdr_MKDIR2resok (); -extern bool_t zdr_MKDIR2res (); -extern bool_t zdr_RMDIR2args (); -extern bool_t zdr_RMDIR2res (); -extern bool_t zdr_READDIR2args (); -extern bool_t zdr_READDIR2resok (); -extern bool_t zdr_READDIR2res (); -extern bool_t zdr_STATFS2args (); -extern bool_t zdr_STATFS2resok (); -extern bool_t zdr_STATFS2res (); -extern bool_t zdr_nfsacl_type (); -extern bool_t zdr_nfsacl_ace (); -extern bool_t zdr_GETACL3args (); -extern bool_t zdr_GETACL3resok (); -extern bool_t zdr_GETACL3res (); -extern bool_t zdr_SETACL3args (); -extern bool_t zdr_SETACL3resok (); -extern bool_t zdr_SETACL3res (); +extern uint32_t zdr_cookieverf3 (); +extern uint32_t zdr_cookie3 (); +extern uint32_t zdr_nfs_fh3 (); +extern uint32_t zdr_filename3 (); +extern uint32_t zdr_diropargs3 (); +extern uint32_t zdr_ftype3 (); +extern uint32_t zdr_mode3 (); +extern uint32_t zdr_uid3 (); +extern uint32_t zdr_gid3 (); +extern uint32_t zdr_size3 (); +extern uint32_t zdr_fileid3 (); +extern uint32_t zdr_specdata3 (); +extern uint32_t zdr_nfstime3 (); +extern uint32_t zdr_fattr3 (); +extern uint32_t zdr_post_op_attr (); +extern uint32_t zdr_nfsstat3 (); +extern uint32_t zdr_stable_how (); +extern uint32_t zdr_offset3 (); +extern uint32_t zdr_count3 (); +extern uint32_t zdr_wcc_attr (); +extern uint32_t zdr_pre_op_attr (); +extern uint32_t zdr_wcc_data (); +extern uint32_t zdr_WRITE3args (); +extern uint32_t zdr_writeverf3 (); +extern uint32_t zdr_WRITE3resok (); +extern uint32_t zdr_WRITE3resfail (); +extern uint32_t zdr_WRITE3res (); +extern uint32_t zdr_LOOKUP3args (); +extern uint32_t zdr_LOOKUP3resok (); +extern uint32_t zdr_LOOKUP3resfail (); +extern uint32_t zdr_LOOKUP3res (); +extern uint32_t zdr_COMMIT3args (); +extern uint32_t zdr_COMMIT3resok (); +extern uint32_t zdr_COMMIT3resfail (); +extern uint32_t zdr_COMMIT3res (); +extern uint32_t zdr_ACCESS3args (); +extern uint32_t zdr_ACCESS3resok (); +extern uint32_t zdr_ACCESS3resfail (); +extern uint32_t zdr_ACCESS3res (); +extern uint32_t zdr_GETATTR3args (); +extern uint32_t zdr_GETATTR3resok (); +extern uint32_t zdr_GETATTR3res (); +extern uint32_t zdr_time_how (); +extern uint32_t zdr_set_mode3 (); +extern uint32_t zdr_set_uid3 (); +extern uint32_t zdr_set_gid3 (); +extern uint32_t zdr_set_size3 (); +extern uint32_t zdr_set_atime (); +extern uint32_t zdr_set_mtime (); +extern uint32_t zdr_sattr3 (); +extern uint32_t zdr_createmode3 (); +extern uint32_t zdr_createverf3 (); +extern uint32_t zdr_createhow3 (); +extern uint32_t zdr_CREATE3args (); +extern uint32_t zdr_post_op_fh3 (); +extern uint32_t zdr_CREATE3resok (); +extern uint32_t zdr_CREATE3resfail (); +extern uint32_t zdr_CREATE3res (); +extern uint32_t zdr_REMOVE3args (); +extern uint32_t zdr_REMOVE3resok (); +extern uint32_t zdr_REMOVE3resfail (); +extern uint32_t zdr_REMOVE3res (); +extern uint32_t zdr_READ3args (); +extern uint32_t zdr_READ3resok (); +extern uint32_t zdr_READ3resfail (); +extern uint32_t zdr_READ3res (); +extern uint32_t zdr_FSINFO3args (); +extern uint32_t zdr_FSINFO3resok (); +extern uint32_t zdr_FSINFO3resfail (); +extern uint32_t zdr_FSINFO3res (); +extern uint32_t zdr_FSSTAT3args (); +extern uint32_t zdr_FSSTAT3resok (); +extern uint32_t zdr_FSSTAT3resfail (); +extern uint32_t zdr_FSSTAT3res (); +extern uint32_t zdr_PATHCONF3args (); +extern uint32_t zdr_PATHCONF3resok (); +extern uint32_t zdr_PATHCONF3resfail (); +extern uint32_t zdr_PATHCONF3res (); +extern uint32_t zdr_nfspath3 (); +extern uint32_t zdr_symlinkdata3 (); +extern uint32_t zdr_SYMLINK3args (); +extern uint32_t zdr_SYMLINK3resok (); +extern uint32_t zdr_SYMLINK3resfail (); +extern uint32_t zdr_SYMLINK3res (); +extern uint32_t zdr_READLINK3args (); +extern uint32_t zdr_READLINK3resok (); +extern uint32_t zdr_READLINK3resfail (); +extern uint32_t zdr_READLINK3res (); +extern uint32_t zdr_devicedata3 (); +extern uint32_t zdr_mknoddata3 (); +extern uint32_t zdr_MKNOD3args (); +extern uint32_t zdr_MKNOD3resok (); +extern uint32_t zdr_MKNOD3resfail (); +extern uint32_t zdr_MKNOD3res (); +extern uint32_t zdr_MKDIR3args (); +extern uint32_t zdr_MKDIR3resok (); +extern uint32_t zdr_MKDIR3resfail (); +extern uint32_t zdr_MKDIR3res (); +extern uint32_t zdr_RMDIR3args (); +extern uint32_t zdr_RMDIR3resok (); +extern uint32_t zdr_RMDIR3resfail (); +extern uint32_t zdr_RMDIR3res (); +extern uint32_t zdr_RENAME3args (); +extern uint32_t zdr_RENAME3resok (); +extern uint32_t zdr_RENAME3resfail (); +extern uint32_t zdr_RENAME3res (); +extern uint32_t zdr_READDIRPLUS3args (); +extern uint32_t zdr_entryplus3 (); +extern uint32_t zdr_dirlistplus3 (); +extern uint32_t zdr_READDIRPLUS3resok (); +extern uint32_t zdr_READDIRPLUS3resfail (); +extern uint32_t zdr_READDIRPLUS3res (); +extern uint32_t zdr_READDIR3args (); +extern uint32_t zdr_entry3 (); +extern uint32_t zdr_dirlist3 (); +extern uint32_t zdr_READDIR3resok (); +extern uint32_t zdr_READDIR3resfail (); +extern uint32_t zdr_READDIR3res (); +extern uint32_t zdr_LINK3args (); +extern uint32_t zdr_LINK3resok (); +extern uint32_t zdr_LINK3resfail (); +extern uint32_t zdr_LINK3res (); +extern uint32_t zdr_sattrguard3 (); +extern uint32_t zdr_SETATTR3args (); +extern uint32_t zdr_SETATTR3resok (); +extern uint32_t zdr_SETATTR3resfail (); +extern uint32_t zdr_SETATTR3res (); +extern uint32_t zdr_fhandle2 (); +extern uint32_t zdr_ftype2 (); +extern uint32_t zdr_fattr2 (); +extern uint32_t zdr_sattr2 (); +extern uint32_t zdr_filename2 (); +extern uint32_t zdr_path2 (); +extern uint32_t zdr_nfsdata2 (); +extern uint32_t zdr_nfscookie2 (); +extern uint32_t zdr_entry2 (); +extern uint32_t zdr_diropargs2 (); +extern uint32_t zdr_GETATTR2args (); +extern uint32_t zdr_GETATTR2resok (); +extern uint32_t zdr_GETATTR2res (); +extern uint32_t zdr_SETATTR2args (); +extern uint32_t zdr_SETATTR2resok (); +extern uint32_t zdr_SETATTR2res (); +extern uint32_t zdr_LOOKUP2args (); +extern uint32_t zdr_LOOKUP2resok (); +extern uint32_t zdr_LOOKUP2res (); +extern uint32_t zdr_READLINK2args (); +extern uint32_t zdr_READLINK2resok (); +extern uint32_t zdr_READLINK2res (); +extern uint32_t zdr_READ2args (); +extern uint32_t zdr_READ2resok (); +extern uint32_t zdr_READ2res (); +extern uint32_t zdr_WRITE2args (); +extern uint32_t zdr_WRITE2resok (); +extern uint32_t zdr_WRITE2res (); +extern uint32_t zdr_CREATE2args (); +extern uint32_t zdr_CREATE2resok (); +extern uint32_t zdr_CREATE2res (); +extern uint32_t zdr_REMOVE2args (); +extern uint32_t zdr_REMOVE2res (); +extern uint32_t zdr_RENAME2args (); +extern uint32_t zdr_RENAME2res (); +extern uint32_t zdr_LINK2args (); +extern uint32_t zdr_LINK2res (); +extern uint32_t zdr_SYMLINK2args (); +extern uint32_t zdr_SYMLINK2res (); +extern uint32_t zdr_MKDIR2args (); +extern uint32_t zdr_MKDIR2resok (); +extern uint32_t zdr_MKDIR2res (); +extern uint32_t zdr_RMDIR2args (); +extern uint32_t zdr_RMDIR2res (); +extern uint32_t zdr_READDIR2args (); +extern uint32_t zdr_READDIR2resok (); +extern uint32_t zdr_READDIR2res (); +extern uint32_t zdr_STATFS2args (); +extern uint32_t zdr_STATFS2resok (); +extern uint32_t zdr_STATFS2res (); +extern uint32_t zdr_nfsacl_type (); +extern uint32_t zdr_nfsacl_ace (); +extern uint32_t zdr_GETACL3args (); +extern uint32_t zdr_GETACL3resok (); +extern uint32_t zdr_GETACL3res (); +extern uint32_t zdr_SETACL3args (); +extern uint32_t zdr_SETACL3resok (); +extern uint32_t zdr_SETACL3res (); #endif /* K&R C */ diff --git a/nlm/Makefile.am b/nlm/Makefile.am index 93b3c86..3ed74b7 100644 --- a/nlm/Makefile.am +++ b/nlm/Makefile.am @@ -19,6 +19,6 @@ nlm-stamp : nlm.x compile_rpc: cat nlm.x | head -29 >libnfs-raw-nlm.h - rpcgen -h nlm.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" >> libnfs-raw-nlm.h + rpcgen -h nlm.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" -e "s/bool_t/uint32_t/g" >> libnfs-raw-nlm.h cat nlm.x | head -29 >libnfs-raw-nlm.c - rpcgen -c nlm.x | sed -e "s/#include \".*nlm.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nlm.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" >> libnfs-raw-nlm.c + rpcgen -c nlm.x | sed -e "s/#include \".*nlm.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nlm.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" -e "s/bool_t/uint32_t/g" >> libnfs-raw-nlm.c diff --git a/nlm/libnfs-raw-nlm.c b/nlm/libnfs-raw-nlm.c index 7930261..ccb2c82 100644 --- a/nlm/libnfs-raw-nlm.c +++ b/nlm/libnfs-raw-nlm.c @@ -35,7 +35,7 @@ either expressed or implied, of the FreeBSD Project. #include "libnfs-zdr.h" #include "libnfs-raw-nlm.h" -bool_t +uint32_t zdr_nlm_fh4 (ZDR *zdrs, nlm_fh4 *objp) { register int32_t *buf; @@ -46,7 +46,7 @@ zdr_nlm_fh4 (ZDR *zdrs, nlm_fh4 *objp) return TRUE; } -bool_t +uint32_t zdr_nlm4_oh (ZDR *zdrs, nlm4_oh *objp) { register int32_t *buf; @@ -57,7 +57,7 @@ zdr_nlm4_oh (ZDR *zdrs, nlm4_oh *objp) return TRUE; } -bool_t +uint32_t zdr_nlm_cookie (ZDR *zdrs, nlm_cookie *objp) { register int32_t *buf; @@ -68,7 +68,7 @@ zdr_nlm_cookie (ZDR *zdrs, nlm_cookie *objp) return TRUE; } -bool_t +uint32_t zdr_nlmstat4 (ZDR *zdrs, nlmstat4 *objp) { register int32_t *buf; @@ -79,7 +79,7 @@ zdr_nlmstat4 (ZDR *zdrs, nlmstat4 *objp) return TRUE; } -bool_t +uint32_t zdr_nlm4_holder (ZDR *zdrs, nlm4_holder *objp) { register int32_t *buf; @@ -98,7 +98,7 @@ zdr_nlm4_holder (ZDR *zdrs, nlm4_holder *objp) return TRUE; } -bool_t +uint32_t zdr_nlm4_lock (ZDR *zdrs, nlm4_lock *objp) { register int32_t *buf; @@ -119,7 +119,7 @@ zdr_nlm4_lock (ZDR *zdrs, nlm4_lock *objp) return TRUE; } -bool_t +uint32_t zdr_nlm4_share (ZDR *zdrs, nlm4_share *objp) { register int32_t *buf; @@ -138,7 +138,7 @@ zdr_nlm4_share (ZDR *zdrs, nlm4_share *objp) return TRUE; } -bool_t +uint32_t zdr_nlm4_testres_denied (ZDR *zdrs, nlm4_testres_denied *objp) { register int32_t *buf; @@ -149,7 +149,7 @@ zdr_nlm4_testres_denied (ZDR *zdrs, nlm4_testres_denied *objp) return TRUE; } -bool_t +uint32_t zdr_nlm4_testreply (ZDR *zdrs, nlm4_testreply *objp) { register int32_t *buf; @@ -168,7 +168,7 @@ zdr_nlm4_testreply (ZDR *zdrs, nlm4_testreply *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_TESTres (ZDR *zdrs, NLM4_TESTres *objp) { register int32_t *buf; @@ -181,7 +181,7 @@ zdr_NLM4_TESTres (ZDR *zdrs, NLM4_TESTres *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_TESTargs (ZDR *zdrs, NLM4_TESTargs *objp) { register int32_t *buf; @@ -196,7 +196,7 @@ zdr_NLM4_TESTargs (ZDR *zdrs, NLM4_TESTargs *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_CANCres (ZDR *zdrs, NLM4_CANCres *objp) { register int32_t *buf; @@ -209,7 +209,7 @@ zdr_NLM4_CANCres (ZDR *zdrs, NLM4_CANCres *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_CANCargs (ZDR *zdrs, NLM4_CANCargs *objp) { register int32_t *buf; @@ -226,7 +226,7 @@ zdr_NLM4_CANCargs (ZDR *zdrs, NLM4_CANCargs *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_UNLOCKres (ZDR *zdrs, NLM4_UNLOCKres *objp) { register int32_t *buf; @@ -239,7 +239,7 @@ zdr_NLM4_UNLOCKres (ZDR *zdrs, NLM4_UNLOCKres *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_UNLOCKargs (ZDR *zdrs, NLM4_UNLOCKargs *objp) { register int32_t *buf; @@ -252,7 +252,7 @@ zdr_NLM4_UNLOCKargs (ZDR *zdrs, NLM4_UNLOCKargs *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_LOCKres (ZDR *zdrs, NLM4_LOCKres *objp) { register int32_t *buf; @@ -265,7 +265,7 @@ zdr_NLM4_LOCKres (ZDR *zdrs, NLM4_LOCKres *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_LOCKargs (ZDR *zdrs, NLM4_LOCKargs *objp) { register int32_t *buf; @@ -286,7 +286,7 @@ zdr_NLM4_LOCKargs (ZDR *zdrs, NLM4_LOCKargs *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_GRANTEDargs (ZDR *zdrs, NLM4_GRANTEDargs *objp) { register int32_t *buf; @@ -301,7 +301,7 @@ zdr_NLM4_GRANTEDargs (ZDR *zdrs, NLM4_GRANTEDargs *objp) return TRUE; } -bool_t +uint32_t zdr_NLM4_GRANTEDres (ZDR *zdrs, NLM4_GRANTEDres *objp) { register int32_t *buf; diff --git a/nlm/libnfs-raw-nlm.h b/nlm/libnfs-raw-nlm.h index 08ee0c7..15374e7 100644 --- a/nlm/libnfs-raw-nlm.h +++ b/nlm/libnfs-raw-nlm.h @@ -76,7 +76,7 @@ enum nlmstat4 { typedef enum nlmstat4 nlmstat4; struct nlm4_holder { - bool_t exclusive; + uint32_t exclusive; u_int svid; nlm4_oh oh; u_quad_t l_offset; @@ -125,7 +125,7 @@ typedef struct NLM4_TESTres NLM4_TESTres; struct NLM4_TESTargs { nlm_cookie cookie; - bool_t exclusive; + uint32_t exclusive; nlm4_lock lock; }; typedef struct NLM4_TESTargs NLM4_TESTargs; @@ -138,8 +138,8 @@ typedef struct NLM4_CANCres NLM4_CANCres; struct NLM4_CANCargs { nlm_cookie cookie; - bool_t block; - bool_t exclusive; + uint32_t block; + uint32_t exclusive; nlm4_lock lock; }; typedef struct NLM4_CANCargs NLM4_CANCargs; @@ -164,17 +164,17 @@ typedef struct NLM4_LOCKres NLM4_LOCKres; struct NLM4_LOCKargs { nlm_cookie cookie; - bool_t block; - bool_t exclusive; + uint32_t block; + uint32_t exclusive; nlm4_lock lock; - bool_t reclaim; + uint32_t reclaim; int state; }; typedef struct NLM4_LOCKargs NLM4_LOCKargs; struct NLM4_GRANTEDargs { nlm_cookie cookie; - bool_t exclusive; + uint32_t exclusive; nlm4_lock lock; }; typedef struct NLM4_GRANTEDargs NLM4_GRANTEDargs; @@ -294,46 +294,46 @@ extern int nlm_program_4_freeresult (); /* the zdr functions */ #if defined(__STDC__) || defined(__cplusplus) -extern bool_t zdr_nlm_fh4 (ZDR *, nlm_fh4*); -extern bool_t zdr_nlm4_oh (ZDR *, nlm4_oh*); -extern bool_t zdr_nlm_cookie (ZDR *, nlm_cookie*); -extern bool_t zdr_nlmstat4 (ZDR *, nlmstat4*); -extern bool_t zdr_nlm4_holder (ZDR *, nlm4_holder*); -extern bool_t zdr_nlm4_lock (ZDR *, nlm4_lock*); -extern bool_t zdr_nlm4_share (ZDR *, nlm4_share*); -extern bool_t zdr_nlm4_testres_denied (ZDR *, nlm4_testres_denied*); -extern bool_t zdr_nlm4_testreply (ZDR *, nlm4_testreply*); -extern bool_t zdr_NLM4_TESTres (ZDR *, NLM4_TESTres*); -extern bool_t zdr_NLM4_TESTargs (ZDR *, NLM4_TESTargs*); -extern bool_t zdr_NLM4_CANCres (ZDR *, NLM4_CANCres*); -extern bool_t zdr_NLM4_CANCargs (ZDR *, NLM4_CANCargs*); -extern bool_t zdr_NLM4_UNLOCKres (ZDR *, NLM4_UNLOCKres*); -extern bool_t zdr_NLM4_UNLOCKargs (ZDR *, NLM4_UNLOCKargs*); -extern bool_t zdr_NLM4_LOCKres (ZDR *, NLM4_LOCKres*); -extern bool_t zdr_NLM4_LOCKargs (ZDR *, NLM4_LOCKargs*); -extern bool_t zdr_NLM4_GRANTEDargs (ZDR *, NLM4_GRANTEDargs*); -extern bool_t zdr_NLM4_GRANTEDres (ZDR *, NLM4_GRANTEDres*); +extern uint32_t zdr_nlm_fh4 (ZDR *, nlm_fh4*); +extern uint32_t zdr_nlm4_oh (ZDR *, nlm4_oh*); +extern uint32_t zdr_nlm_cookie (ZDR *, nlm_cookie*); +extern uint32_t zdr_nlmstat4 (ZDR *, nlmstat4*); +extern uint32_t zdr_nlm4_holder (ZDR *, nlm4_holder*); +extern uint32_t zdr_nlm4_lock (ZDR *, nlm4_lock*); +extern uint32_t zdr_nlm4_share (ZDR *, nlm4_share*); +extern uint32_t zdr_nlm4_testres_denied (ZDR *, nlm4_testres_denied*); +extern uint32_t zdr_nlm4_testreply (ZDR *, nlm4_testreply*); +extern uint32_t zdr_NLM4_TESTres (ZDR *, NLM4_TESTres*); +extern uint32_t zdr_NLM4_TESTargs (ZDR *, NLM4_TESTargs*); +extern uint32_t zdr_NLM4_CANCres (ZDR *, NLM4_CANCres*); +extern uint32_t zdr_NLM4_CANCargs (ZDR *, NLM4_CANCargs*); +extern uint32_t zdr_NLM4_UNLOCKres (ZDR *, NLM4_UNLOCKres*); +extern uint32_t zdr_NLM4_UNLOCKargs (ZDR *, NLM4_UNLOCKargs*); +extern uint32_t zdr_NLM4_LOCKres (ZDR *, NLM4_LOCKres*); +extern uint32_t zdr_NLM4_LOCKargs (ZDR *, NLM4_LOCKargs*); +extern uint32_t zdr_NLM4_GRANTEDargs (ZDR *, NLM4_GRANTEDargs*); +extern uint32_t zdr_NLM4_GRANTEDres (ZDR *, NLM4_GRANTEDres*); #else /* K&R C */ -extern bool_t zdr_nlm_fh4 (); -extern bool_t zdr_nlm4_oh (); -extern bool_t zdr_nlm_cookie (); -extern bool_t zdr_nlmstat4 (); -extern bool_t zdr_nlm4_holder (); -extern bool_t zdr_nlm4_lock (); -extern bool_t zdr_nlm4_share (); -extern bool_t zdr_nlm4_testres_denied (); -extern bool_t zdr_nlm4_testreply (); -extern bool_t zdr_NLM4_TESTres (); -extern bool_t zdr_NLM4_TESTargs (); -extern bool_t zdr_NLM4_CANCres (); -extern bool_t zdr_NLM4_CANCargs (); -extern bool_t zdr_NLM4_UNLOCKres (); -extern bool_t zdr_NLM4_UNLOCKargs (); -extern bool_t zdr_NLM4_LOCKres (); -extern bool_t zdr_NLM4_LOCKargs (); -extern bool_t zdr_NLM4_GRANTEDargs (); -extern bool_t zdr_NLM4_GRANTEDres (); +extern uint32_t zdr_nlm_fh4 (); +extern uint32_t zdr_nlm4_oh (); +extern uint32_t zdr_nlm_cookie (); +extern uint32_t zdr_nlmstat4 (); +extern uint32_t zdr_nlm4_holder (); +extern uint32_t zdr_nlm4_lock (); +extern uint32_t zdr_nlm4_share (); +extern uint32_t zdr_nlm4_testres_denied (); +extern uint32_t zdr_nlm4_testreply (); +extern uint32_t zdr_NLM4_TESTres (); +extern uint32_t zdr_NLM4_TESTargs (); +extern uint32_t zdr_NLM4_CANCres (); +extern uint32_t zdr_NLM4_CANCargs (); +extern uint32_t zdr_NLM4_UNLOCKres (); +extern uint32_t zdr_NLM4_UNLOCKargs (); +extern uint32_t zdr_NLM4_LOCKres (); +extern uint32_t zdr_NLM4_LOCKargs (); +extern uint32_t zdr_NLM4_GRANTEDargs (); +extern uint32_t zdr_NLM4_GRANTEDres (); #endif /* K&R C */ diff --git a/nsm/Makefile.am b/nsm/Makefile.am index 16cc1f9..e0dcfaf 100644 --- a/nsm/Makefile.am +++ b/nsm/Makefile.am @@ -19,6 +19,6 @@ nsm-stamp : nsm.x compile_rpc: cat nsm.x | head -29 >libnfs-raw-nsm.h - rpcgen -h nsm.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" >> libnfs-raw-nsm.h + rpcgen -h nsm.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" -e "s/bool_t/uint32_t/g" >> libnfs-raw-nsm.h cat nsm.x | head -29 >libnfs-raw-nsm.c - rpcgen -c nsm.x | sed -e "s/#include \".*nsm.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nsm.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" >> libnfs-raw-nsm.c + rpcgen -c nsm.x | sed -e "s/#include \".*nsm.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nsm.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" -e "s/bool_t/uint32_t/g" >> libnfs-raw-nsm.c diff --git a/nsm/libnfs-raw-nsm.c b/nsm/libnfs-raw-nsm.c index d3be832..cfd98e8 100644 --- a/nsm/libnfs-raw-nsm.c +++ b/nsm/libnfs-raw-nsm.c @@ -35,7 +35,7 @@ either expressed or implied, of the FreeBSD Project. #include "libnfs-zdr.h" #include "libnfs-raw-nsm.h" -bool_t +uint32_t zdr_nsmstat1 (ZDR *zdrs, nsmstat1 *objp) { register int32_t *buf; @@ -46,7 +46,7 @@ zdr_nsmstat1 (ZDR *zdrs, nsmstat1 *objp) return TRUE; } -bool_t +uint32_t zdr_nsm_my_id (ZDR *zdrs, nsm_my_id *objp) { register int32_t *buf; @@ -63,7 +63,7 @@ zdr_nsm_my_id (ZDR *zdrs, nsm_my_id *objp) return TRUE; } -bool_t +uint32_t zdr_nsm_mon_id (ZDR *zdrs, nsm_mon_id *objp) { register int32_t *buf; @@ -76,7 +76,7 @@ zdr_nsm_mon_id (ZDR *zdrs, nsm_mon_id *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_STATres (ZDR *zdrs, NSM1_STATres *objp) { register int32_t *buf; @@ -89,7 +89,7 @@ zdr_NSM1_STATres (ZDR *zdrs, NSM1_STATres *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_STATargs (ZDR *zdrs, NSM1_STATargs *objp) { register int32_t *buf; @@ -100,7 +100,7 @@ zdr_NSM1_STATargs (ZDR *zdrs, NSM1_STATargs *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_MONres (ZDR *zdrs, NSM1_MONres *objp) { register int32_t *buf; @@ -113,7 +113,7 @@ zdr_NSM1_MONres (ZDR *zdrs, NSM1_MONres *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_MONargs (ZDR *zdrs, NSM1_MONargs *objp) { register int32_t *buf; @@ -127,7 +127,7 @@ zdr_NSM1_MONargs (ZDR *zdrs, NSM1_MONargs *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_UNMONres (ZDR *zdrs, NSM1_UNMONres *objp) { register int32_t *buf; @@ -138,7 +138,7 @@ zdr_NSM1_UNMONres (ZDR *zdrs, NSM1_UNMONres *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_UNMONargs (ZDR *zdrs, NSM1_UNMONargs *objp) { register int32_t *buf; @@ -149,7 +149,7 @@ zdr_NSM1_UNMONargs (ZDR *zdrs, NSM1_UNMONargs *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_UNMONALLres (ZDR *zdrs, NSM1_UNMONALLres *objp) { register int32_t *buf; @@ -160,7 +160,7 @@ zdr_NSM1_UNMONALLres (ZDR *zdrs, NSM1_UNMONALLres *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_UNMONALLargs (ZDR *zdrs, NSM1_UNMONALLargs *objp) { register int32_t *buf; @@ -171,7 +171,7 @@ zdr_NSM1_UNMONALLargs (ZDR *zdrs, NSM1_UNMONALLargs *objp) return TRUE; } -bool_t +uint32_t zdr_NSM1_NOTIFYargs (ZDR *zdrs, NSM1_NOTIFYargs *objp) { register int32_t *buf; diff --git a/nsm/libnfs-raw-nsm.h b/nsm/libnfs-raw-nsm.h index 613cd22..3c3d296 100644 --- a/nsm/libnfs-raw-nsm.h +++ b/nsm/libnfs-raw-nsm.h @@ -168,32 +168,32 @@ extern int nsm_program_1_freeresult (); /* the zdr functions */ #if defined(__STDC__) || defined(__cplusplus) -extern bool_t zdr_nsmstat1 (ZDR *, nsmstat1*); -extern bool_t zdr_nsm_my_id (ZDR *, nsm_my_id*); -extern bool_t zdr_nsm_mon_id (ZDR *, nsm_mon_id*); -extern bool_t zdr_NSM1_STATres (ZDR *, NSM1_STATres*); -extern bool_t zdr_NSM1_STATargs (ZDR *, NSM1_STATargs*); -extern bool_t zdr_NSM1_MONres (ZDR *, NSM1_MONres*); -extern bool_t zdr_NSM1_MONargs (ZDR *, NSM1_MONargs*); -extern bool_t zdr_NSM1_UNMONres (ZDR *, NSM1_UNMONres*); -extern bool_t zdr_NSM1_UNMONargs (ZDR *, NSM1_UNMONargs*); -extern bool_t zdr_NSM1_UNMONALLres (ZDR *, NSM1_UNMONALLres*); -extern bool_t zdr_NSM1_UNMONALLargs (ZDR *, NSM1_UNMONALLargs*); -extern bool_t zdr_NSM1_NOTIFYargs (ZDR *, NSM1_NOTIFYargs*); +extern uint32_t zdr_nsmstat1 (ZDR *, nsmstat1*); +extern uint32_t zdr_nsm_my_id (ZDR *, nsm_my_id*); +extern uint32_t zdr_nsm_mon_id (ZDR *, nsm_mon_id*); +extern uint32_t zdr_NSM1_STATres (ZDR *, NSM1_STATres*); +extern uint32_t zdr_NSM1_STATargs (ZDR *, NSM1_STATargs*); +extern uint32_t zdr_NSM1_MONres (ZDR *, NSM1_MONres*); +extern uint32_t zdr_NSM1_MONargs (ZDR *, NSM1_MONargs*); +extern uint32_t zdr_NSM1_UNMONres (ZDR *, NSM1_UNMONres*); +extern uint32_t zdr_NSM1_UNMONargs (ZDR *, NSM1_UNMONargs*); +extern uint32_t zdr_NSM1_UNMONALLres (ZDR *, NSM1_UNMONALLres*); +extern uint32_t zdr_NSM1_UNMONALLargs (ZDR *, NSM1_UNMONALLargs*); +extern uint32_t zdr_NSM1_NOTIFYargs (ZDR *, NSM1_NOTIFYargs*); #else /* K&R C */ -extern bool_t zdr_nsmstat1 (); -extern bool_t zdr_nsm_my_id (); -extern bool_t zdr_nsm_mon_id (); -extern bool_t zdr_NSM1_STATres (); -extern bool_t zdr_NSM1_STATargs (); -extern bool_t zdr_NSM1_MONres (); -extern bool_t zdr_NSM1_MONargs (); -extern bool_t zdr_NSM1_UNMONres (); -extern bool_t zdr_NSM1_UNMONargs (); -extern bool_t zdr_NSM1_UNMONALLres (); -extern bool_t zdr_NSM1_UNMONALLargs (); -extern bool_t zdr_NSM1_NOTIFYargs (); +extern uint32_t zdr_nsmstat1 (); +extern uint32_t zdr_nsm_my_id (); +extern uint32_t zdr_nsm_mon_id (); +extern uint32_t zdr_NSM1_STATres (); +extern uint32_t zdr_NSM1_STATargs (); +extern uint32_t zdr_NSM1_MONres (); +extern uint32_t zdr_NSM1_MONargs (); +extern uint32_t zdr_NSM1_UNMONres (); +extern uint32_t zdr_NSM1_UNMONargs (); +extern uint32_t zdr_NSM1_UNMONALLres (); +extern uint32_t zdr_NSM1_UNMONALLargs (); +extern uint32_t zdr_NSM1_NOTIFYargs (); #endif /* K&R C */ diff --git a/portmap/Makefile.am b/portmap/Makefile.am index 71801bd..a1d9c07 100644 --- a/portmap/Makefile.am +++ b/portmap/Makefile.am @@ -19,6 +19,6 @@ portmap-stamp : portmap.x compile_rpc: cat portmap.x | head -29 >libnfs-raw-portmap.h - rpcgen -h portmap.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" >> libnfs-raw-portmap.h + rpcgen -h portmap.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" -e "s/bool_t/uint32_t/g" >> libnfs-raw-portmap.h cat portmap.x | head -29 >libnfs-raw-portmap.c - rpcgen -c portmap.x | sed -e "s/#include \".*portmap.h\"/#include \"libnfs-zdr.h\"\n#include \"libnfs-raw-portmap.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" >> libnfs-raw-portmap.c + rpcgen -c portmap.x | sed -e "s/#include \".*portmap.h\"/#include \"libnfs-zdr.h\"\n#include \"libnfs-raw-portmap.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" -e "s/bool_t/uint32_t/g" >> libnfs-raw-portmap.c diff --git a/portmap/libnfs-raw-portmap.c b/portmap/libnfs-raw-portmap.c index 12b919d..8e2a3c5 100644 --- a/portmap/libnfs-raw-portmap.c +++ b/portmap/libnfs-raw-portmap.c @@ -35,7 +35,7 @@ either expressed or implied, of the FreeBSD Project. #include "libnfs-zdr.h" #include "libnfs-raw-portmap.h" -bool_t +uint32_t zdr_pmap2_mapping (ZDR *zdrs, pmap2_mapping *objp) { register int32_t *buf; @@ -91,7 +91,7 @@ zdr_pmap2_mapping (ZDR *zdrs, pmap2_mapping *objp) return TRUE; } -bool_t +uint32_t zdr_pmap2_call_args (ZDR *zdrs, pmap2_call_args *objp) { register int32_t *buf; @@ -147,7 +147,7 @@ zdr_pmap2_call_args (ZDR *zdrs, pmap2_call_args *objp) return TRUE; } -bool_t +uint32_t zdr_pmap2_call_result (ZDR *zdrs, pmap2_call_result *objp) { register int32_t *buf; @@ -160,7 +160,7 @@ zdr_pmap2_call_result (ZDR *zdrs, pmap2_call_result *objp) return TRUE; } -bool_t +uint32_t zdr_pmap2_mapping_list (ZDR *zdrs, pmap2_mapping_list *objp) { register int32_t *buf; @@ -173,7 +173,7 @@ zdr_pmap2_mapping_list (ZDR *zdrs, pmap2_mapping_list *objp) return TRUE; } -bool_t +uint32_t zdr_pmap2_dump_result (ZDR *zdrs, pmap2_dump_result *objp) { register int32_t *buf; @@ -184,7 +184,7 @@ zdr_pmap2_dump_result (ZDR *zdrs, pmap2_dump_result *objp) return TRUE; } -bool_t +uint32_t zdr_pmap3_string_result (ZDR *zdrs, pmap3_string_result *objp) { register int32_t *buf; @@ -195,7 +195,7 @@ zdr_pmap3_string_result (ZDR *zdrs, pmap3_string_result *objp) return TRUE; } -bool_t +uint32_t zdr_pmap3_mapping (ZDR *zdrs, pmap3_mapping *objp) { register int32_t *buf; @@ -214,7 +214,7 @@ zdr_pmap3_mapping (ZDR *zdrs, pmap3_mapping *objp) return TRUE; } -bool_t +uint32_t zdr_pmap3_mapping_list (ZDR *zdrs, pmap3_mapping_list *objp) { register int32_t *buf; @@ -227,7 +227,7 @@ zdr_pmap3_mapping_list (ZDR *zdrs, pmap3_mapping_list *objp) return TRUE; } -bool_t +uint32_t zdr_pmap3_dump_result (ZDR *zdrs, pmap3_dump_result *objp) { register int32_t *buf; @@ -238,7 +238,7 @@ zdr_pmap3_dump_result (ZDR *zdrs, pmap3_dump_result *objp) return TRUE; } -bool_t +uint32_t zdr_pmap3_call_args (ZDR *zdrs, pmap3_call_args *objp) { register int32_t *buf; @@ -294,7 +294,7 @@ zdr_pmap3_call_args (ZDR *zdrs, pmap3_call_args *objp) return TRUE; } -bool_t +uint32_t zdr_pmap3_call_result (ZDR *zdrs, pmap3_call_result *objp) { register int32_t *buf; @@ -307,7 +307,7 @@ zdr_pmap3_call_result (ZDR *zdrs, pmap3_call_result *objp) return TRUE; } -bool_t +uint32_t zdr_pmap3_netbuf (ZDR *zdrs, pmap3_netbuf *objp) { register int32_t *buf; diff --git a/portmap/libnfs-raw-portmap.h b/portmap/libnfs-raw-portmap.h index e1915c5..4c3fc90 100644 --- a/portmap/libnfs-raw-portmap.h +++ b/portmap/libnfs-raw-portmap.h @@ -145,11 +145,11 @@ typedef struct pmap3_netbuf pmap3_netbuf; extern void * pmap2_null_2(void *, void *); extern void * pmap2_null_2_svc(void *, struct svc_req *); #define PMAP2_SET 1 -extern bool_t * pmap2_set_2(pmap2_mapping *, void *); -extern bool_t * pmap2_set_2_svc(pmap2_mapping *, struct svc_req *); +extern uint32_t * pmap2_set_2(pmap2_mapping *, void *); +extern uint32_t * pmap2_set_2_svc(pmap2_mapping *, struct svc_req *); #define PMAP2_UNSET 2 -extern bool_t * pmap2_unset_2(pmap2_mapping *, void *); -extern bool_t * pmap2_unset_2_svc(pmap2_mapping *, struct svc_req *); +extern uint32_t * pmap2_unset_2(pmap2_mapping *, void *); +extern uint32_t * pmap2_unset_2_svc(pmap2_mapping *, struct svc_req *); #define PMAP2_GETPORT 3 extern u_int * pmap2_getport_2(pmap2_mapping *, void *); extern u_int * pmap2_getport_2_svc(pmap2_mapping *, struct svc_req *); @@ -166,11 +166,11 @@ extern int pmap_program_2_freeresult (void *, zdrproc_t, caddr_t); extern void * pmap2_null_2(); extern void * pmap2_null_2_svc(); #define PMAP2_SET 1 -extern bool_t * pmap2_set_2(); -extern bool_t * pmap2_set_2_svc(); +extern uint32_t * pmap2_set_2(); +extern uint32_t * pmap2_set_2_svc(); #define PMAP2_UNSET 2 -extern bool_t * pmap2_unset_2(); -extern bool_t * pmap2_unset_2_svc(); +extern uint32_t * pmap2_unset_2(); +extern uint32_t * pmap2_unset_2_svc(); #define PMAP2_GETPORT 3 extern u_int * pmap2_getport_2(); extern u_int * pmap2_getport_2_svc(); @@ -189,11 +189,11 @@ extern int pmap_program_2_freeresult (); extern void * pmap3_null_3(void *, void *); extern void * pmap3_null_3_svc(void *, struct svc_req *); #define PMAP3_SET 1 -extern bool_t * pmap3_set_3(pmap3_mapping *, void *); -extern bool_t * pmap3_set_3_svc(pmap3_mapping *, struct svc_req *); +extern uint32_t * pmap3_set_3(pmap3_mapping *, void *); +extern uint32_t * pmap3_set_3_svc(pmap3_mapping *, struct svc_req *); #define PMAP3_UNSET 2 -extern bool_t * pmap3_unset_3(pmap3_mapping *, void *); -extern bool_t * pmap3_unset_3_svc(pmap3_mapping *, struct svc_req *); +extern uint32_t * pmap3_unset_3(pmap3_mapping *, void *); +extern uint32_t * pmap3_unset_3_svc(pmap3_mapping *, struct svc_req *); #define PMAP3_GETADDR 3 extern pmap3_string_result * pmap3_getaddr_3(pmap3_mapping *, void *); extern pmap3_string_result * pmap3_getaddr_3_svc(pmap3_mapping *, struct svc_req *); @@ -219,11 +219,11 @@ extern int pmap_program_3_freeresult (void *, zdrproc_t, caddr_t); extern void * pmap3_null_3(); extern void * pmap3_null_3_svc(); #define PMAP3_SET 1 -extern bool_t * pmap3_set_3(); -extern bool_t * pmap3_set_3_svc(); +extern uint32_t * pmap3_set_3(); +extern uint32_t * pmap3_set_3_svc(); #define PMAP3_UNSET 2 -extern bool_t * pmap3_unset_3(); -extern bool_t * pmap3_unset_3_svc(); +extern uint32_t * pmap3_unset_3(); +extern uint32_t * pmap3_unset_3_svc(); #define PMAP3_GETADDR 3 extern pmap3_string_result * pmap3_getaddr_3(); extern pmap3_string_result * pmap3_getaddr_3_svc(); @@ -248,32 +248,32 @@ extern int pmap_program_3_freeresult (); /* the zdr functions */ #if defined(__STDC__) || defined(__cplusplus) -extern bool_t zdr_pmap2_mapping (ZDR *, pmap2_mapping*); -extern bool_t zdr_pmap2_call_args (ZDR *, pmap2_call_args*); -extern bool_t zdr_pmap2_call_result (ZDR *, pmap2_call_result*); -extern bool_t zdr_pmap2_mapping_list (ZDR *, pmap2_mapping_list*); -extern bool_t zdr_pmap2_dump_result (ZDR *, pmap2_dump_result*); -extern bool_t zdr_pmap3_string_result (ZDR *, pmap3_string_result*); -extern bool_t zdr_pmap3_mapping (ZDR *, pmap3_mapping*); -extern bool_t zdr_pmap3_mapping_list (ZDR *, pmap3_mapping_list*); -extern bool_t zdr_pmap3_dump_result (ZDR *, pmap3_dump_result*); -extern bool_t zdr_pmap3_call_args (ZDR *, pmap3_call_args*); -extern bool_t zdr_pmap3_call_result (ZDR *, pmap3_call_result*); -extern bool_t zdr_pmap3_netbuf (ZDR *, pmap3_netbuf*); +extern uint32_t zdr_pmap2_mapping (ZDR *, pmap2_mapping*); +extern uint32_t zdr_pmap2_call_args (ZDR *, pmap2_call_args*); +extern uint32_t zdr_pmap2_call_result (ZDR *, pmap2_call_result*); +extern uint32_t zdr_pmap2_mapping_list (ZDR *, pmap2_mapping_list*); +extern uint32_t zdr_pmap2_dump_result (ZDR *, pmap2_dump_result*); +extern uint32_t zdr_pmap3_string_result (ZDR *, pmap3_string_result*); +extern uint32_t zdr_pmap3_mapping (ZDR *, pmap3_mapping*); +extern uint32_t zdr_pmap3_mapping_list (ZDR *, pmap3_mapping_list*); +extern uint32_t zdr_pmap3_dump_result (ZDR *, pmap3_dump_result*); +extern uint32_t zdr_pmap3_call_args (ZDR *, pmap3_call_args*); +extern uint32_t zdr_pmap3_call_result (ZDR *, pmap3_call_result*); +extern uint32_t zdr_pmap3_netbuf (ZDR *, pmap3_netbuf*); #else /* K&R C */ -extern bool_t zdr_pmap2_mapping (); -extern bool_t zdr_pmap2_call_args (); -extern bool_t zdr_pmap2_call_result (); -extern bool_t zdr_pmap2_mapping_list (); -extern bool_t zdr_pmap2_dump_result (); -extern bool_t zdr_pmap3_string_result (); -extern bool_t zdr_pmap3_mapping (); -extern bool_t zdr_pmap3_mapping_list (); -extern bool_t zdr_pmap3_dump_result (); -extern bool_t zdr_pmap3_call_args (); -extern bool_t zdr_pmap3_call_result (); -extern bool_t zdr_pmap3_netbuf (); +extern uint32_t zdr_pmap2_mapping (); +extern uint32_t zdr_pmap2_call_args (); +extern uint32_t zdr_pmap2_call_result (); +extern uint32_t zdr_pmap2_mapping_list (); +extern uint32_t zdr_pmap2_dump_result (); +extern uint32_t zdr_pmap3_string_result (); +extern uint32_t zdr_pmap3_mapping (); +extern uint32_t zdr_pmap3_mapping_list (); +extern uint32_t zdr_pmap3_dump_result (); +extern uint32_t zdr_pmap3_call_args (); +extern uint32_t zdr_pmap3_call_result (); +extern uint32_t zdr_pmap3_netbuf (); #endif /* K&R C */ diff --git a/rquota/Makefile.am b/rquota/Makefile.am index d80e83e..a82b9fb 100644 --- a/rquota/Makefile.am +++ b/rquota/Makefile.am @@ -19,6 +19,6 @@ rquota-stamp : rquota.x compile_rpc: cat rquota.x | head -29 >libnfs-raw-rquota.h - rpcgen -h rquota.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" >> libnfs-raw-rquota.h + rpcgen -h rquota.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" -e "s/bool_t/uint32_t/g" >> libnfs-raw-rquota.h cat rquota.x | head -29 >libnfs-raw-rquota.c - rpcgen -c rquota.x | sed -e "s/#include \".*rquota.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-rquota.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" >> libnfs-raw-rquota.c + rpcgen -c rquota.x | sed -e "s/#include \".*rquota.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-rquota.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" -e "s/bool_t/uint32_t/g" >> libnfs-raw-rquota.c diff --git a/rquota/libnfs-raw-rquota.c b/rquota/libnfs-raw-rquota.c index 482645f..4937cb9 100644 --- a/rquota/libnfs-raw-rquota.c +++ b/rquota/libnfs-raw-rquota.c @@ -35,7 +35,7 @@ either expressed or implied, of the FreeBSD Project. #include "libnfs-zdr.h" #include "libnfs-raw-rquota.h" -bool_t +uint32_t zdr_rquotastat (ZDR *zdrs, rquotastat *objp) { register int32_t *buf; @@ -46,7 +46,7 @@ zdr_rquotastat (ZDR *zdrs, rquotastat *objp) return TRUE; } -bool_t +uint32_t zdr_exportpath (ZDR *zdrs, exportpath *objp) { register int32_t *buf; @@ -57,7 +57,7 @@ zdr_exportpath (ZDR *zdrs, exportpath *objp) return TRUE; } -bool_t +uint32_t zdr_GETQUOTA1args (ZDR *zdrs, GETQUOTA1args *objp) { register int32_t *buf; @@ -70,7 +70,7 @@ zdr_GETQUOTA1args (ZDR *zdrs, GETQUOTA1args *objp) return TRUE; } -bool_t +uint32_t zdr_quotatype (ZDR *zdrs, quotatype *objp) { register int32_t *buf; @@ -81,7 +81,7 @@ zdr_quotatype (ZDR *zdrs, quotatype *objp) return TRUE; } -bool_t +uint32_t zdr_GETQUOTA2args (ZDR *zdrs, GETQUOTA2args *objp) { register int32_t *buf; @@ -96,7 +96,7 @@ zdr_GETQUOTA2args (ZDR *zdrs, GETQUOTA2args *objp) return TRUE; } -bool_t +uint32_t zdr_GETQUOTA1res_ok (ZDR *zdrs, GETQUOTA1res_ok *objp) { register int32_t *buf; @@ -200,7 +200,7 @@ zdr_GETQUOTA1res_ok (ZDR *zdrs, GETQUOTA1res_ok *objp) return TRUE; } -bool_t +uint32_t zdr_GETQUOTA1res (ZDR *zdrs, GETQUOTA1res *objp) { register int32_t *buf; diff --git a/rquota/libnfs-raw-rquota.h b/rquota/libnfs-raw-rquota.h index d5b1bd1..2d75703 100644 --- a/rquota/libnfs-raw-rquota.h +++ b/rquota/libnfs-raw-rquota.h @@ -151,22 +151,22 @@ extern int rquota_program_2_freeresult (); /* the zdr functions */ #if defined(__STDC__) || defined(__cplusplus) -extern bool_t zdr_rquotastat (ZDR *, rquotastat*); -extern bool_t zdr_exportpath (ZDR *, exportpath*); -extern bool_t zdr_GETQUOTA1args (ZDR *, GETQUOTA1args*); -extern bool_t zdr_quotatype (ZDR *, quotatype*); -extern bool_t zdr_GETQUOTA2args (ZDR *, GETQUOTA2args*); -extern bool_t zdr_GETQUOTA1res_ok (ZDR *, GETQUOTA1res_ok*); -extern bool_t zdr_GETQUOTA1res (ZDR *, GETQUOTA1res*); +extern uint32_t zdr_rquotastat (ZDR *, rquotastat*); +extern uint32_t zdr_exportpath (ZDR *, exportpath*); +extern uint32_t zdr_GETQUOTA1args (ZDR *, GETQUOTA1args*); +extern uint32_t zdr_quotatype (ZDR *, quotatype*); +extern uint32_t zdr_GETQUOTA2args (ZDR *, GETQUOTA2args*); +extern uint32_t zdr_GETQUOTA1res_ok (ZDR *, GETQUOTA1res_ok*); +extern uint32_t zdr_GETQUOTA1res (ZDR *, GETQUOTA1res*); #else /* K&R C */ -extern bool_t zdr_rquotastat (); -extern bool_t zdr_exportpath (); -extern bool_t zdr_GETQUOTA1args (); -extern bool_t zdr_quotatype (); -extern bool_t zdr_GETQUOTA2args (); -extern bool_t zdr_GETQUOTA1res_ok (); -extern bool_t zdr_GETQUOTA1res (); +extern uint32_t zdr_rquotastat (); +extern uint32_t zdr_exportpath (); +extern uint32_t zdr_GETQUOTA1args (); +extern uint32_t zdr_quotatype (); +extern uint32_t zdr_GETQUOTA2args (); +extern uint32_t zdr_GETQUOTA1res_ok (); +extern uint32_t zdr_GETQUOTA1res (); #endif /* K&R C */