summaryrefslogtreecommitdiff
path: root/src/helper/replacements.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-18 06:58:27 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-18 15:51:07 -0800
commit7e4adfe1c53aa18d4feba1e58ceb5c5aaa470775 (patch)
treeb6e359af900dc57c08f10fa8c7ab535a40e35379 /src/helper/replacements.h
parent410fab9ea8c6632da2e4967d960f66eecc7821ec (diff)
downloadopenocd_libswd-7e4adfe1c53aa18d4feba1e58ceb5c5aaa470775.tar.gz
openocd_libswd-7e4adfe1c53aa18d4feba1e58ceb5c5aaa470775.tar.bz2
openocd_libswd-7e4adfe1c53aa18d4feba1e58ceb5c5aaa470775.tar.xz
openocd_libswd-7e4adfe1c53aa18d4feba1e58ceb5c5aaa470775.zip
add handle_command_parse_bool command helper
Rewrite arm11_handle_bool to provide a generic on/off command helper. Refactors COMMAND_PARSE_BOOL to use new command_parse_bool helper, which gets reused by the new command_parse_bool_any helper. This later helper is called by the new command helper function to accepts any on/off, enable/disable, true/false, yes/no, or 0/1 parameter.
Diffstat (limited to 'src/helper/replacements.h')
0 files changed, 0 insertions, 0 deletions