summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-30 18:45:55 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-30 18:45:55 +0000
commit013c4e1467c8de01df7a5725629072254ab4c10a (patch)
tree7e2e89cc3275525974c35ef3f12b96bd6bb49061 /src/or/or.h
parent4533da06c97e81a44332f77af35d6c10ce505aff (diff)
downloadtor-013c4e1467c8de01df7a5725629072254ab4c10a.tar.gz
tor-013c4e1467c8de01df7a5725629072254ab4c10a.zip
move the tls handshake stuff to connection_or
svn:r510
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 2669f92939..40401c3044 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -525,8 +525,6 @@ void connection_free(connection_t *conn);
int connection_create_listener(struct sockaddr_in *bindaddr, int type);
int connection_handle_listener_read(connection_t *conn, int new_type);
-int connection_tls_start_handshake(connection_t *conn, int receiving);
-
int connection_connect(connection_t *conn, char *address, uint32_t addr, uint16_t port);
int retry_all_connections(uint16_t or_listenport, uint16_t ap_listenport, uint16_t dir_listenport);
@@ -576,6 +574,9 @@ int connection_or_finished_flushing(connection_t *conn);
void connection_or_init_conn_from_router(connection_t *conn, routerinfo_t *router);
connection_t *connection_or_connect(routerinfo_t *router);
+int connection_tls_start_handshake(connection_t *conn, int receiving);
+int connection_tls_continue_handshake(connection_t *conn);
+
int connection_write_cell_to_buf(const cell_t *cellp, connection_t *conn);
int connection_process_cell_from_inbuf(connection_t *conn);