diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-14 12:42:41 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-14 12:42:41 -0500 |
commit | c2dc94d8ebcd5fdd1076abb41ff0ecee6c092f4f (patch) | |
tree | 8806c17bfc9af54185570382ea629853dd801c15 /src/feature/api | |
parent | dec11793ba2fdaeb975e1566b68846431fb85110 (diff) | |
parent | b6f099672b90cb606d89bfcb0cae01ea49e46b9c (diff) | |
download | tor-c2dc94d8ebcd5fdd1076abb41ff0ecee6c092f4f.tar.gz tor-c2dc94d8ebcd5fdd1076abb41ff0ecee6c092f4f.zip |
Merge branch 'ticket32883'
Diffstat (limited to 'src/feature/api')
-rw-r--r-- | src/feature/api/tor_api_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/feature/api/tor_api_internal.h b/src/feature/api/tor_api_internal.h index d52b2caf44..ef06cd7e6f 100644 --- a/src/feature/api/tor_api_internal.h +++ b/src/feature/api/tor_api_internal.h @@ -29,6 +29,11 @@ struct tor_main_configuration_t { /** Socket that Tor will use as an owning control socket. Owned. */ tor_socket_t owning_controller_socket; + + /** Disable commands other than "run tor". Not for use from outside Tor + * itself; if you need to use this for embedding, please contact the tor + * developers. */ + int run_tor_only; }; #endif /* !defined(TOR_API_INTERNAL_H) */ |