OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_71-25-ge501c45

Gerrit Code Review gerrit@openafs.org
Wed, 3 Feb 2010 13:25:27 -0800 (PST)


The following commit has been merged in the master branch:
commit e501c45c4ab30bb8409d0dd1e4c7ebabed1e9669
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Sat Jan 30 22:28:47 2010 +0000

    Add xdr_len, to work out required buffer size
    
    Currently, code which uses xdr_mem needs to take a guess at the
    buffer size required, allocate that guess, and error out if the
    data being encoded actually exceeds the guess.
    
    This adds a new XDR mechanism - xdr_len, which can return
    (using xdr_getpos) the length of the buffer required to XDR
    encode a given structure.
    
    Change-Id: I6e04c051118a26441caebdbcb2b5768d3c4389b6
    Reviewed-on: http://gerrit.openafs.org/1221
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/rx/Makefile.in      |    2 +-
 src/rx/xdr_len.c        |  129 +++++++++++++++++++++++++++++++++++++++++++++++
 src/rx/xdr_prototypes.h |    3 +
 3 files changed, 133 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository