diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-19 11:49:48 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-19 11:49:48 +0000 |
commit | bbe7110f42e96f9c56f9eea7819bf9b287dbe16f (patch) | |
tree | 12231a096f3cc16aae3fb3086c4eb02fb1651bc7 /src/target/cortex_swjdp.c | |
parent | 5227c98f3f6971718abd4b86774aa2fa0a3f8ac7 (diff) | |
download | openocd+libswd-bbe7110f42e96f9c56f9eea7819bf9b287dbe16f.tar.gz openocd+libswd-bbe7110f42e96f9c56f9eea7819bf9b287dbe16f.tar.bz2 openocd+libswd-bbe7110f42e96f9c56f9eea7819bf9b287dbe16f.tar.xz openocd+libswd-bbe7110f42e96f9c56f9eea7819bf9b287dbe16f.zip |
duane ellis: (A) a new concept called "Name Value Pair" or NVP, in simple terms: Think: "String" and "Value". There can be many strings - all related to a single value, for examle: "T", "t", "y", "1", "yes", all can represent "truth", the reverse mapping is more simplistic - the first matching number wins.
(B) a new "getopt" like feature for Jim - that simplifies argument parsing in complex functions, normally this would be used in conjunction with either an NVP table of options, or a more simpler Enumeration table. In contrast to the GNU "getopt" package, this is more of a "object model or code oriented" solution then a pure data structure used by GNU getopt, or the main stream Tcl/Tk option processing.
git-svn-id: svn://svn.berlios.de/openocd/trunk@936 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/cortex_swjdp.c')
0 files changed, 0 insertions, 0 deletions