[tor-commits] [tor/master] Move a pathbias function that depends on entryguard_t.
nickm at torproject.org
nickm at torproject.org
Wed Dec 26 04:34:55 UTC 2012
commit a630726884c434323d6af558b80f992fc018d255
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Mon Nov 19 11:31:35 2012 -0800
Move a pathbias function that depends on entryguard_t.
---
src/or/circuitbuild.h | 4 ----
src/or/entrynodes.h | 2 ++
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h
index 325a583..2d9eac1 100644
--- a/src/or/circuitbuild.h
+++ b/src/or/circuitbuild.h
@@ -60,8 +60,4 @@ void pathbias_count_successful_close(origin_circuit_t *circ);
void pathbias_count_collapse(origin_circuit_t *circ);
void pathbias_count_unusable(origin_circuit_t *circ);
-typedef struct entry_guard_t entry_guard_t;
-int pathbias_get_closed_count(entry_guard_t *gaurd);
-
#endif
-
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index b9c8052..c3f7b14 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -111,5 +111,7 @@ int find_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port,
int validate_pluggable_transports_config(void);
+int pathbias_get_closed_count(entry_guard_t *gaurd);
+
#endif
More information about the tor-commits
mailing list