]> git.sur5r.net Git - openocd/commit
add command_handler_t type
authorZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 03:00:01 +0000 (19:00 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 18:51:45 +0000 (10:51 -0800)
commitddb6138ed428f666064d26bb08036de3afe44bc8
treee127983a43d444b4893fc549ea6cb150465448e6
parent3f9fd4e2a6ab7b3ce3819c385c34cf6f4630763c
add command_handler_t type

This patch adds new typedefs for command handler callback functions.
Users of this type signature were updated to use these new types.
It uses the new __COMMAND_HANDLER macro to prevent duplication.
src/helper/command.c
src/helper/command.h