aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/config/config.h')
-rw-r--r--src/app/config/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/config/config.h b/src/app/config/config.h
index fe4e272d87..582b97d74b 100644
--- a/src/app/config/config.h
+++ b/src/app/config/config.h
@@ -204,6 +204,10 @@ typedef struct {
/** List of other options, to be handled by the general Tor configuration
system. */
struct config_line_t *other_opts;
+ /** Subcommand that Tor has been told to run */
+ tor_cmdline_mode_t command;
+ /** Argument for the command mode, if any. */
+ const char *command_arg;
} parsed_cmdline_t;
parsed_cmdline_t *config_parse_commandline(int argc, char **argv,