OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1135-gda68fb9
Gerrit Code Review
gerrit@openafs.org
Wed, 27 Apr 2011 12:07:07 -0700 (PDT)
The following commit has been merged in the master branch:
commit da68fb9d1ce7adb3a800c402462b0872c769a609
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Apr 19 11:41:54 2011 +0100
cmd: Add accessor functions for options
Add a load of accessor functions to help with pulling values out
from the the cmd_syndesc structure. The idea here is to make it
simpler to manipulate command line values, as well as starting to
hide the structure of the cmd_syndesc structure from callers, with
a view to eventually making it private to the cmd library.
Change-Id: I38757d776364ceacd43e98fda16e995da35da65c
Reviewed-on: http://gerrit.openafs.org/4543
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/cmd/cmd.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++
src/cmd/cmd.p.h | 5 ++++
src/cmd/cmd_errors.et | 1 +
tests/cmd/command-t.c | 27 +++++++++++++++++++++-
4 files changed, 93 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository