diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-21 13:59:51 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-24 21:37:30 -0800 |
commit | 60ba4641d61ba65943ac7a8c800e82d6665ee11f (patch) | |
tree | 8670f3bfebaefd2c62c948292da9f0991dc39bc5 /src/server/telnet_server.c | |
parent | 607634f967cf25630860794847dea770eb17a8f4 (diff) | |
download | openocd_libswd-60ba4641d61ba65943ac7a8c800e82d6665ee11f.tar.gz openocd_libswd-60ba4641d61ba65943ac7a8c800e82d6665ee11f.tar.bz2 openocd_libswd-60ba4641d61ba65943ac7a8c800e82d6665ee11f.tar.xz openocd_libswd-60ba4641d61ba65943ac7a8c800e82d6665ee11f.zip |
add command registration chaining
Adds the ability to chain registration structures. Modules can define a
command with the 'chain' and 'num_chain' fields defined in their
registration table, and the register_commands() function will initialize
these commands. If the registration record creates a new command, then
the chained commands are created under it; otherwise, they are created
in the same context as the other commands (i.e. the parent argument).
Diffstat (limited to 'src/server/telnet_server.c')
0 files changed, 0 insertions, 0 deletions