summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-02-11 01:26:47 +0000
committerNick Mathewson <nickm@torproject.org>2005-02-11 01:26:47 +0000
commitf672577bc6d32ecfe96582b463a83cac8eaac66f (patch)
tree03999d6f3338a1383cea660189cad8f6fcdf08b2 /src/or/or.h
parent60f234f42b63ed6a5208c70bbc4c32e532cc903d (diff)
downloadtor-f672577bc6d32ecfe96582b463a83cac8eaac66f.tar.gz
tor-f672577bc6d32ecfe96582b463a83cac8eaac66f.zip
Free even more things on shutdown. Temporarily move tor_free_all out from #ifdef so it gets tested more.
svn:r3614
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 08fb96c1da..21cff2b828 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1105,6 +1105,7 @@ int _circuit_mark_for_close(circuit_t *circ);
void assert_cpath_layer_ok(const crypt_path_t *cp);
void assert_circuit_ok(const circuit_t *c);
+void circuit_free_all(void);
/********************************* circuituse.c ************************/
@@ -1144,6 +1145,7 @@ struct config_line_t {
or_options_t *get_options(void);
void set_options(or_options_t *new_val);
int options_act(void);
+void config_free_all(void);
int config_get_lines(char *string, struct config_line_t **result);
void config_free_lines(struct config_line_t *front);
@@ -1373,6 +1375,7 @@ void dirserv_free_all(void);
/********************************* dns.c ***************************/
void dns_init(void);
+void dns_free_all(void);
int connection_dns_finished_flushing(connection_t *conn);
int connection_dns_reached_eof(connection_t *conn);
int connection_dns_process_inbuf(connection_t *conn);
@@ -1451,6 +1454,8 @@ int onion_skin_client_handshake(crypto_dh_env_t *handshake_state,
char *key_out,
size_t key_out_len);
+void clear_pending_onions(void);
+
/********************************* relay.c ***************************/
extern unsigned long stats_n_relay_cells_relayed;
@@ -1601,6 +1606,7 @@ int router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
crypto_pk_env_t *ident_key);
int is_legal_nickname(const char *s);
int is_legal_nickname_or_hexdigest(const char *s);
+void router_free_all_keys(void);
/********************************* routerlist.c ***************************/