aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-30 19:18:37 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-30 19:18:37 +0000
commit9510d9a79286d4baf3f3bd8ee69ae5ff422f9735 (patch)
tree4ae1e51c64b5612bd8c340b78817fa1ab6259f35 /src/or/or.h
parent80f43a8c6e2c297de165333c2cfe6ec9c5213fe2 (diff)
downloadtor-9510d9a79286d4baf3f3bd8ee69ae5ff422f9735.tar
tor-9510d9a79286d4baf3f3bd8ee69ae5ff422f9735.tar.gz
tor --list-fingerprint to print fingerprint and exit
svn:r2627
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 4f2aee9c4..6a36516f6 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -832,6 +832,10 @@ typedef struct exit_redirect_t {
/** Configuration options for a Tor process */
typedef struct {
+ /** What should the tor process actually do? */
+ enum {
+ CMD_RUN_TOR=0, CMD_LIST_FINGERPRINT
+ } command;
struct config_line_t *LogOptions; /**< List of configuration lines
* for logfiles */