[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

The next step in a table driven client

From: Bruce Korb <bkorb_at_sco.COM>
Date: 2000-11-15 00:45:59 CET

In preparation for ultimately doing some sort of
table thingey for options, I want to lay some ground work
now. To do this, I want to make a struct type that
contains all the data currently used in the client
options, plus the command enumeration type. Each
command table entry would have a pointer to a struct
of this type with just the command enumeration filled
in. The current option processing code would be called
from main() instead of the command procedures. The command
procedures would receive only command arguments (the
options stripped off). With this done, changing the
underlying option processing should no longer perterb
much of any other code (especially the command implementation
procedures.)

I'll stick a slight rewording of this email
into the CVS log when I do this, ok? :-)
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.