]> git.sur5r.net Git - openocd/commit
add register_commands for batch registration
authorZachary T Welch <zw@superlucidity.net>
Fri, 20 Nov 2009 20:46:06 +0000 (12:46 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 25 Nov 2009 05:37:29 +0000 (21:37 -0800)
commit2461855494cd045567c15c502ba215caffb37ce3
treea27f0d9ca53237d7839d25711bd0a786b00d6415
parent69076057dde9f4336b54fb4da677da8fe5da66bd
add register_commands for batch registration

The register_commands API takes multiple commands in one call, allowing
modules to declare and pass a much simpler (and more explicit) array of
command_registration records.
src/helper/command.c
src/helper/command.h