diff options
author | Taylor Yu <catalyst@torproject.org> | 2018-12-17 09:45:09 -0600 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2018-12-20 18:46:17 -0600 |
commit | b0ae6a332a0882a670b3a2bacf5c70b69936e4bc (patch) | |
tree | d555251c0f56c7cf609e51c800bf1f858932d5ce /src/feature/control/btrack_circuit.h | |
parent | b0f974633ac17e07c3ab93ecea9337506bb8d583 (diff) | |
download | tor-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_circuit.h')
-rw-r--r-- | src/feature/control/btrack_circuit.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/feature/control/btrack_circuit.h b/src/feature/control/btrack_circuit.h new file mode 100644 index 0000000000..ab8b8b652c --- /dev/null +++ b/src/feature/control/btrack_circuit.h @@ -0,0 +1,15 @@ +/* Copyright (c) 2007-2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +/** + * \file btrack_circuit.h + * \brief Header file for btrack_circuit.c + **/ + +#ifndef TOR_BTRACK_CIRCUIT_H +#define TOR_BTRACK_CIRCUIT_H + +int btrack_circ_init(void); +void btrack_circ_fini(void); + +#endif /* defined(TOR_BTRACK_CIRCUIT_H) */ |