]> git.sur5r.net Git - openocd/commit
httpd: use register_commands()
authorZachary T Welch <zw@superlucidity.net>
Tue, 24 Nov 2009 18:58:32 +0000 (10:58 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 25 Nov 2009 05:37:37 +0000 (21:37 -0800)
commit8f5ff3ddcf0ab11b0ec6fc9215144154fb0519f9
tree10e2c2c19ab0aad9cdaf2e6bd551d1f666f2594b
parent17a9dea53a71e9d7e241262725f3dd707b620d37
httpd: use register_commands()

Updates httpd_start() to use register_commands() for 'readform' and
'writeform' commands.  Adds server/httpd.h to export the new signatures
for this function (and httpd_stop), which allows removing the obsoleted
declarations inside openocd.c.
src/openocd.c
src/server/Makefile.am
src/server/httpd.c
src/server/httpd.h [new file with mode: 0644]