diff options
author | Roger Dingledine <arma@torproject.org> | 2009-12-13 19:21:06 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2009-12-13 19:21:06 -0500 |
commit | f7d99b62a3357f71e653bd5c39fa083336d82a8e (patch) | |
tree | 75368c0f93cc3dec8657cf1527cc1341d3c46bc7 /src/or/or.h | |
parent | d086c9a7f73ce5b9b7cf4add07fa7d071b829081 (diff) | |
download | tor-f7d99b62a3357f71e653bd5c39fa083336d82a8e.tar.gz tor-f7d99b62a3357f71e653bd5c39fa083336d82a8e.zip |
New controller command "getinfo config-text"
It returns the contents that Tor would write if you send it a SAVECONF
command, so the controller can write the file to disk itself.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 2e575f5ef9..f4b00683fa 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3219,6 +3219,7 @@ int resolve_my_address(int warn_severity, or_options_t *options, uint32_t *addr, char **hostname_out); int is_local_addr(const tor_addr_t *addr) ATTR_PURE; void options_init(or_options_t *options); +char *options_dump(or_options_t *options, int minimal); int options_init_from_torrc(int argc, char **argv); setopt_err_t options_init_from_string(const char *cf, int command, const char *command_arg, char **msg); |