ZDR: New builtin replacement for RPC/XDR called ZDR
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 4 Jul 2012 06:53:12 +0000 (16:53 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 4 Jul 2012 06:53:12 +0000 (16:53 +1000)
commit763cd6e3e2bbb6906186e7ed6a86660276b596b7
tree11dcbf06d9145edefef8c6073faf316b4f168a11
parent061d3f1f99e354af36e8ac259a98f863975e51f5
ZDR: New builtin replacement for RPC/XDR called ZDR

This patch switches libnfs over to use precompiled rpcgen files
and using ZDR.  ZDR is a trivial reimplementation of XDR that is built in
into libnfs.

This removes the dependencies of rpc/xdr completely and allow us to build on any
system, even systems where rpcgen and librpc/libxdr are not generally available.
38 files changed:
examples/nfsclient-async.c
examples/nfsclient-bcast.c
examples/nfsclient-listservers.c
examples/nfsclient-raw.c
examples/nfsclient-sync.c
include/libnfs-private.h
include/libnfs-raw.h
include/libnfs-zdr.h [new file with mode: 0644]
include/libnfs.h
lib/Makefile.am
lib/init.c
lib/libnfs-sync.c
lib/libnfs-zdr.c [new file with mode: 0644]
lib/libnfs.c
lib/pdu.c
lib/socket.c
mount/Makefile.am
mount/libnfs-raw-mount.c [new file with mode: 0644]
mount/libnfs-raw-mount.h [new file with mode: 0644]
mount/mount.c
nfs/Makefile.am
nfs/libnfs-raw-nfs.c [new file with mode: 0644]
nfs/libnfs-raw-nfs.h [new file with mode: 0644]
nfs/nfs.c
nfs/nfs.x
nfs/nfsacl.c
nlm/Makefile.am
nlm/libnfs-raw-nlm.c [new file with mode: 0644]
nlm/libnfs-raw-nlm.h [new file with mode: 0644]
nlm/nlm.c
portmap/Makefile.am
portmap/libnfs-raw-portmap.c [new file with mode: 0644]
portmap/libnfs-raw-portmap.h [new file with mode: 0644]
portmap/portmap.c
rquota/Makefile.am
rquota/libnfs-raw-rquota.c [new file with mode: 0644]
rquota/libnfs-raw-rquota.h [new file with mode: 0644]
rquota/rquota.c