NetBSD/usr.sbin/amd/rpcx
christos c7ce104884 Fix amd to compile and work after the NFSv3 commit.
This fix is a kludge:
	- make the nfs filehandle conditional on v2 and v3
	- set the nfs_args fields for the version and the
	  file handle size.
	- make the file handle pointer type void * so that
	  it works on both nfsv2 and nfsv3
	- fix the mountd rpc results parsing.

A proper fix should:
	- register an nfsv3 server for amd.
	- make amd try v2/v3 mounts exactly like mount_nfs does.
	- understand the nfsv3 mount options.
	- cleanup the #undef's in the protocol header.

Also in order to auto-recognize v2 vs v3, I moved the inclusion of
<sys/mount.h> to am.h.
1996-02-19 20:57:40 +00:00
..
amq_clnt.c
amq_svc.c
amq_xdr.c
amq.h
amq.x
mount_xdr.c Fix amd to compile and work after the NFSv3 commit. 1996-02-19 20:57:40 +00:00
mount.h Fix amd to compile and work after the NFSv3 commit. 1996-02-19 20:57:40 +00:00
nfs_prot_svc.c
nfs_prot_xdr.c
nfs_prot.h Fix amd to compile and work after the NFSv3 commit. 1996-02-19 20:57:40 +00:00