diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-04-09 10:09:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-04-25 14:13:03 -0400 |
commit | ddd33d39c7e115045d296dd88fd4d310b932a4e1 (patch) | |
tree | b9b5bb1550b1e6f098a27c4d758446404b4221a2 /src/feature/control/control_cmd.h | |
parent | 8799b4e805ed5495409b6036b82d08e4624bacd3 (diff) | |
download | tor-ddd33d39c7e115045d296dd88fd4d310b932a4e1.tar.gz tor-ddd33d39c7e115045d296dd88fd4d310b932a4e1.zip |
Port the authenticate and authchallenge commands to the new parser
These two presented their own challenge, because of their use of
QString, and their distinguished handling of quoted versus
non-quoted values.
Diffstat (limited to 'src/feature/control/control_cmd.h')
-rw-r--r-- | src/feature/control/control_cmd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/feature/control/control_cmd.h b/src/feature/control/control_cmd.h index 6f35c74de0..b825d6da5c 100644 --- a/src/feature/control/control_cmd.h +++ b/src/feature/control/control_cmd.h @@ -64,6 +64,13 @@ typedef struct control_cmd_syntax_t { * True iff this command wants to be followed by a multiline object. **/ bool want_object; + /** + * True iff this command needs access to the raw body of the input. + * + * This should not be needed for pure commands; it is purely a legacy + * option. + **/ + bool store_raw_body; } control_cmd_syntax_t; #ifdef CONTROL_CMD_PRIVATE |