summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-01 13:28:31 -0400
committerNick Mathewson <nickm@torproject.org>2017-11-01 13:28:31 -0400
commitcd606d5ad36136cb7e66ac462ea945ceb3a9a7f7 (patch)
treeaaad24fa79b84e7a17e15c79fea8aa30f78b9962 /src/or/or.h
parente79d74072b2a1087d4527912087573412b7da3a7 (diff)
parentf1bf9bf8198fcfaf078fdc12eb2ad5adf1901d29 (diff)
downloadtor-cd606d5ad36136cb7e66ac462ea945ceb3a9a7f7.tar.gz
tor-cd606d5ad36136cb7e66ac462ea945ceb3a9a7f7.zip
Merge remote-tracking branch 'public/owning_control_fd'
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 4572a46458..0a4d712976 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4071,6 +4071,8 @@ typedef struct {
/** Process specifier for a controller that ‘owns’ this Tor
* instance. Tor will terminate if its owning controller does. */
char *OwningControllerProcess;
+ /** FD specifier for a controller that owns this Tor instance. */
+ int OwningControllerFD;
int ShutdownWaitLength; /**< When we get a SIGINT and we're a server, how
* long do we wait before exiting? */