aboutsummaryrefslogtreecommitdiff
path: root/src/feature/control/btrack_sys.h
diff options
context:
space:
mode:
authorTaylor Yu <catalyst@torproject.org>2018-12-17 09:45:09 -0600
committerTaylor Yu <catalyst@torproject.org>2018-12-20 18:46:17 -0600
commitb0ae6a332a0882a670b3a2bacf5c70b69936e4bc (patch)
treed555251c0f56c7cf609e51c800bf1f858932d5ce /src/feature/control/btrack_sys.h
parentb0f974633ac17e07c3ab93ecea9337506bb8d583 (diff)
downloadtor-b0ae6a332a0882a670b3a2bacf5c70b69936e4bc.tar.gz
tor-b0ae6a332a0882a670b3a2bacf5c70b69936e4bc.zip
Add bootstrap tracker subsystem
Add a tracker for bootstrap progress, tracking events related to origin circuit and ORCONN states. This uses the ocirc_event and orconn_event publish-subscribe subsystems. Part of ticket 27167.
Diffstat (limited to 'src/feature/control/btrack_sys.h')
-rw-r--r--src/feature/control/btrack_sys.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/feature/control/btrack_sys.h b/src/feature/control/btrack_sys.h
new file mode 100644
index 0000000000..f80cf342e7
--- /dev/null
+++ b/src/feature/control/btrack_sys.h
@@ -0,0 +1,14 @@
+/* Copyright (c) 2007-2018, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+/**
+ * \file btrack_sys.h
+ * \brief Declare subsystem object for the bootstrap tracker susbystem.
+ **/
+
+#ifndef TOR_BTRACK_SYS_H
+#define TOR_BTRACK_SYS_H
+
+extern const struct subsys_fns_t sys_btrack;
+
+#endif /* defined(TOR_BTRACK_SYS_H) */