diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-12 05:05:41 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-12 05:05:41 +0000 |
commit | 5d92fbe30e30844a02c155f0874df6b086e4dc7d (patch) | |
tree | b87313f84a9d7f02741004016d81c64b4bb29211 /src/or/circuitbuild.c | |
parent | 0faab62cd96a671f9018bd9cb8e23daf7eb3344f (diff) | |
download | tor-5d92fbe30e30844a02c155f0874df6b086e4dc7d.tar tor-5d92fbe30e30844a02c155f0874df6b086e4dc7d.tar.gz |
Use autoconf to enable largefile support where necessary. Use ftello where available, since ftell can fail at 2GB.
svn:r2806
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 63801982a..6ec302356 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -20,12 +20,10 @@ extern circuit_t *global_circuitlist; static int circuit_deliver_create_cell(circuit_t *circ, char *payload); -static cpath_build_state_t * -onion_new_cpath_build_state(uint8_t purpose, const char *exit_digest); -static int -onion_extend_cpath(crypt_path_t **head_ptr, cpath_build_state_t - *state, routerinfo_t **router_out); -static int decide_circ_id_type(char *local_nick, char *remote_nick); +static cpath_build_state_t *onion_new_cpath_build_state(uint8_t purpose, + const char *exit_digest); +static int onion_extend_cpath(crypt_path_t **head_ptr, + cpath_build_state_t *state, routerinfo_t **router_out); static int count_acceptable_routers(smartlist_t *routers); /** Iterate over values of circ_id, starting from conn-\>next_circ_id, @@ -342,7 +340,6 @@ void circuit_n_conn_done(connection_t *or_conn, int success) { static int circuit_deliver_create_cell(circuit_t *circ, char *payload) { - int circ_id_type; cell_t cell; tor_assert(circ); |