diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-01 03:23:28 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-01 03:23:28 +0000 |
commit | d01497cf3cb6e3c890e49953d5becd745a5222e5 (patch) | |
tree | 41f3ac31f1ce1e9067ffa48f8f4171d31c070cf7 /src/or/or.h | |
parent | 35f531b94febe2a91447fefaed4ea6751d55a1cb (diff) | |
download | tor-d01497cf3cb6e3c890e49953d5becd745a5222e5.tar tor-d01497cf3cb6e3c890e49953d5becd745a5222e5.tar.gz |
outline what bob does to initialize his hidden services
let circuit_launch_new return the circ it just made
svn:r1424
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index a54a8287c..907010ec9 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -689,7 +689,7 @@ void circuit_log_path(int severity, circuit_t *circ); void circuit_dump_by_conn(connection_t *conn, int severity); void circuit_expire_unused_circuits(void); -int circuit_launch_new(uint8_t purpose); +circuit_t *circuit_launch_new(uint8_t purpose); void circuit_increment_failure_count(void); void circuit_reset_failure_count(void); void circuit_n_conn_open(connection_t *or_conn); @@ -929,7 +929,8 @@ int init_keys(void); crypto_pk_env_t *init_key_from_file(const char *fname); void router_retry_connections(void); -void router_upload_desc_to_dirservers(void); +void router_upload_dir_desc_to_dirservers(void); +void router_post_to_dirservers(uint8_t purpose, const char *payload, int payload_len); int router_compare_to_my_exit_policy(connection_t *conn); const char *router_get_my_descriptor(void); int router_rebuild_descriptor(void); @@ -1018,6 +1019,7 @@ int rend_parse_rendezvous_address(char *address); int rend_config_services(or_options_t *options); int rend_service_init_keys(void); +int rend_services_init(void); #endif |