aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-02 13:38:50 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-02 15:38:00 -0400
commitda908a593fded0c4774c6cdfb6b5e51c87f65d88 (patch)
tree4bce2b353cc03c648403170b213e84b573864f37 /src/or/relay.h
parent4215c801ffc11f19949be3da2d46158664f0bf97 (diff)
downloadtor-da908a593fded0c4774c6cdfb6b5e51c87f65d88.tar.gz
tor-da908a593fded0c4774c6cdfb6b5e51c87f65d88.zip
Unit tests for connection_edge_process_resolved_cell
Also rename a function to be more accurate (resolve->resolved)
Diffstat (limited to 'src/or/relay.h')
-rw-r--r--src/or/relay.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/relay.h b/src/or/relay.h
index bd5c908579..9c0e21c14f 100644
--- a/src/or/relay.h
+++ b/src/or/relay.h
@@ -92,10 +92,9 @@ typedef struct address_ttl_s {
STATIC void address_ttl_free(address_ttl_t *addr);
STATIC int resolved_cell_parse(const cell_t *cell, const relay_header_t *rh,
smartlist_t *addresses_out, int *errcode_out);
-STATIC void connection_ap_handshake_socks_got_resolve_cell(
- entry_connection_t *conn,
- int error_code,
- smartlist_t *results);
+STATIC int connection_edge_process_resolved_cell(edge_connection_t *conn,
+ const cell_t *cell,
+ const relay_header_t *rh);
STATIC packed_cell_t *packed_cell_new(void);
STATIC packed_cell_t *cell_queue_pop(cell_queue_t *queue);
STATIC size_t cell_queues_get_total_allocation(void);