Revive tclapi.c from r1650:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 10 May 2009 19:44:38 +0000 (19:44 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 10 May 2009 19:44:38 +0000 (19:44 +0000)
commit72acdac71aa2b2dd787f9b1e400d058e1887e61f
treea48684c54312c525c5b7c2ef9b43866271bf6bd2
parent90465379e558ea7310867d9d39b79428c2050ddb
Revive tclapi.c from r1650:
* Remove superfluous #include directives.
* Fix warnings and API usage to cure its bit rot.
* Build into libhelper library (for now).
Add tclapi.h to export tclapi_register_commands().
Register tclapi commands in openocd.c:setup_command_handler().

git-svn-id: svn://svn.berlios.de/openocd/trunk@1691 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/helper/Makefile.am
src/helper/tclapi.c [new file with mode: 0644]
src/helper/tclapi.h [new file with mode: 0644]
src/openocd.c