diff options
author | Taylor Yu <catalyst@torproject.org> | 2019-03-08 09:41:43 -0600 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-06-11 11:59:30 -0400 |
commit | a8c0f4ddfe3f0a63bd499959c8d921346aa9766e (patch) | |
tree | 50793b2860d2ce1532cf23197957c2c22e10aa96 /src/feature/control/btrack_orconn.h | |
parent | a8a0144d1183a3598bffe6c552507c9dcbdcd474 (diff) | |
download | tor-a8c0f4ddfe3f0a63bd499959c8d921346aa9766e.tar.gz tor-a8c0f4ddfe3f0a63bd499959c8d921346aa9766e.zip |
Rework orconn tracking to use pubsub
Part of ticket 29976.
Diffstat (limited to 'src/feature/control/btrack_orconn.h')
-rw-r--r-- | src/feature/control/btrack_orconn.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/control/btrack_orconn.h b/src/feature/control/btrack_orconn.h index 6ab4892a78..fed9a58eb0 100644 --- a/src/feature/control/btrack_orconn.h +++ b/src/feature/control/btrack_orconn.h @@ -9,6 +9,8 @@ #ifndef TOR_BTRACK_ORCONN_H #define TOR_BTRACK_ORCONN_H +#include "lib/pubsub/pubsub.h" + #ifdef BTRACK_ORCONN_PRIVATE #include "ht.h" @@ -33,6 +35,7 @@ typedef struct bt_orconn_t { #endif /* defined(BTRACK_ORCONN_PRIVATE) */ int btrack_orconn_init(void); +int btrack_orconn_add_pubsub(pubsub_connector_t *); void btrack_orconn_fini(void); #endif /* defined(TOR_BTRACK_ORCONN_H) */ |