aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-12-13 19:21:06 -0500
committerRoger Dingledine <arma@torproject.org>2009-12-13 19:21:06 -0500
commitf7d99b62a3357f71e653bd5c39fa083336d82a8e (patch)
tree75368c0f93cc3dec8657cf1527cc1341d3c46bc7 /src/or/or.h
parentd086c9a7f73ce5b9b7cf4add07fa7d071b829081 (diff)
downloadtor-f7d99b62a3357f71e653bd5c39fa083336d82a8e.tar
tor-f7d99b62a3357f71e653bd5c39fa083336d82a8e.tar.gz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 2e575f5ef..f4b00683f 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);