XDR: decouple from system XDR implementation
authorAndrew Deason <adeason@sinenomine.net>
Mon, 2 Aug 2010 18:23:34 +0000 (13:23 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sun, 10 Apr 2011 13:15:21 +0000 (06:15 -0700)
commitb3b0c67808b76c0d7d1225956c5de21414490183
treea151660a17fcea38ea0ec3848736f7e85629374e
parentda3921e7c78ec2f9a7861cfb5d06df96bb1e477f
XDR: decouple from system XDR implementation

Since commit 7293ddf325b149cae60d3abe7199d08f196bd2b9 we have stopped
trying to use the system-provided XDR implementation, but the xdr_ops
structure was still structured to accomodate for the old limitations
of the system XDR. Change xdr_ops so it is just always one consistent
structure.

This removes:

 - The AFS_XDR_64BITOPS define and all related code, since we never
   call the 64-bit versions of getint and putint ourselves

 - The rearrangement of getint32/putint32 depending if we are in
   Solaris kernel-land or not

 - The .x_control field

Change-Id: I59b7579da1ea728eaba6b426011adbe4f7a331b6
Reviewed-on: http://gerrit.openafs.org/2503
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/xdr.h
src/rx/xdr_len.c
src/rx/xdr_mem.c
src/rx/xdr_rec.c
src/rx/xdr_rx.c
src/rx/xdr_stdio.c