OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre1-87-g25231ef

Gerrit Code Review gerrit@openafs.org
Thu, 3 Feb 2011 03:26:14 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit c6893df719c724abc42a49419a9bd9651b1ede2a
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.
    
    Reviewed-on: http://gerrit.openafs.org/2585
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 13ae3de3f6ce5de2395823ee5f862a863caf2e51)
    
    Change-Id: I03adce371f17c8865b469b9b5cb94209395261c2
    Reviewed-on: http://gerrit.openafs.org/3812
    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