diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-04-02 08:17:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-04-25 14:13:03 -0400 |
commit | de70eebc65d40d50f877b0f82df4d05ce670faa5 (patch) | |
tree | b84bb2f4fb0a0b73a76eac71083e2a34b44df155 /src/feature/control/control.c | |
parent | e9ca904dbfc99ebef567d7bb2c6d87819d0d832c (diff) | |
download | tor-de70eebc65d40d50f877b0f82df4d05ce670faa5.tar.gz tor-de70eebc65d40d50f877b0f82df4d05ce670faa5.zip |
Start on a command-parsing tool for controller commands.
There _is_ an underlying logic to these commands, but it isn't
wholly uniform, given years of tweaks and changes. Fortunately I
think there is a superset that will work.
This commit adds a parser for some of the most basic cases -- the
ones currently handled by getargs_helper() and some of the
object-taking ones. Soon will come initial tests; then I'll start using
the parser.
After that, I'll expand the parser to handle the other cases that come
up in the controller protocol.
Diffstat (limited to 'src/feature/control/control.c')
0 files changed, 0 insertions, 0 deletions