diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-15 22:29:47 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-15 22:29:47 +0000 |
commit | 3db8c152878c665823711fb1b8bcb61927014e3e (patch) | |
tree | 768032f988b0cff69fca144887907953097caab5 /src/or/or.h | |
parent | 2bde30efa6027ccc1ff53f784164a5e218fce93b (diff) | |
download | tor-3db8c152878c665823711fb1b8bcb61927014e3e.tar.gz tor-3db8c152878c665823711fb1b8bcb61927014e3e.zip |
Add a circuit_conforms_to_options() function for use in debugging paths [and inother stuff too]. Untested, and so far unused.
svn:r16914
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 5ad3d59b21..09abeb50e9 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2701,6 +2701,8 @@ void circuit_expire_building(time_t now); void circuit_remove_handled_ports(smartlist_t *needed_ports); int circuit_stream_is_being_handled(edge_connection_t *conn, uint16_t port, int min); +int circuit_conforms_to_options(const origin_circuit_t *circ, + const or_options_t *options); void circuit_build_needed_circs(time_t now); void circuit_detach_stream(circuit_t *circ, edge_connection_t *conn); @@ -4257,6 +4259,7 @@ void routerset_union(routerset_t *target, const routerset_t *source); int routerset_contains_router(const routerset_t *set, routerinfo_t *ri); int routerset_contains_routerstatus(const routerset_t *set, routerstatus_t *rs); +int routerset_contains_extendinfo(const routerset_t *set, extend_info_t *ei); void routerset_get_all_routers(smartlist_t *out, const routerset_t *routerset, int running_only); void routerset_subtract_routers(smartlist_t *out, |