OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-610-g13ae3de

Gerrit Code Review gerrit@openafs.org
Sat, 1 Jan 2011 21:20:18 -0800 (PST)


The following commit has been merged in the master branch:
commit 13ae3de3f6ce5de2395823ee5f862a863caf2e51
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Sun Feb 14 10:01:14 2010 +0000

    Add "brief" option to rxgen
    
    Add a new -b option to rxgen that turns on "brief" output. This makes a
    number of changes to the data definitions produced by rxgen so they can
    be more easily used by the calling code.
    
    The changes are:
       *) Use the new struct rx_opaque structure for all opaque data
          definitions, rather than defining each as a unique structure.
          This permits moving opaque data between rxgen structures to be
          performed by simple assignment.
       *) Use anonymous structures for internal definitions. Currently
          rxgen also uses the field name as the structure name, which
          prevents the use of a field name more than once within a
          source file.
       *) Don't embed the structure name within the names of the elements
          within the structure. This significantly reduces the length of
          assignment code, and makes for more readable callers.
    
    Change-Id: I8cad7e6051f12238a77cf006b0854fb38b54f61a
    Reviewed-on: http://gerrit.openafs.org/2585
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/rxgen/rpc_cout.c  |   36 +++++++++++++++++++++++++------
 src/rxgen/rpc_hout.c  |   55 +++++++++++++++++++++++++++++++++++++-----------
 src/rxgen/rpc_main.c  |   27 +++++++++++++++++++++++-
 src/rxgen/rpc_parse.c |   20 ++++++++++++-----
 src/rxgen/rpc_util.h  |    1 +
 5 files changed, 112 insertions(+), 27 deletions(-)

-- 
OpenAFS Master Repository