| Re: The next step in a table driven client
From: Greg Stein <gstein_at_lyra.org>
 Date: 2000-11-15 03:15:44 CET 
On Tue, Nov 14, 2000 at 05:53:08PM -0600, Karl Fogel wrote:
 Solvable with svn_client_get_option(longname, cmd_data). When that function
 > On the other hand, you have to keep adding fields.  And some things
 Right.
 > Hmm.  Yes, I see what you mean, Greg.  I guess I've swung around to
 The most general mechanism is:
 *) a hash table for options
 A struct can make sense to wrap these two pieces up along with "purely
 struct cmd_stuff_t {
 Effectively, the parsing stuff just preprocesses a few flags such as
 That said, I am -0 (not a full -1) on the use of hash vs. struct. I'd much
 Cheers,
 -- Greg Stein, http://www.lyra.org/Received on Sat Oct 21 14:36:14 2006 | 
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.