Back to index

tor  0.2.3.18-rc
rendservice.h
Go to the documentation of this file.
00001 /* Copyright (c) 2001 Matej Pfajfar.
00002  * Copyright (c) 2001-2004, Roger Dingledine.
00003  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
00004  * Copyright (c) 2007-2012, The Tor Project, Inc. */
00005 /* See LICENSE for licensing information */
00006 
00012 #ifndef _TOR_RENDSERVICE_H
00013 #define _TOR_RENDSERVICE_H
00014 
00015 int num_rend_services(void);
00016 int rend_config_services(const or_options_t *options, int validate_only);
00017 int rend_service_load_keys(void);
00018 void rend_services_introduce(void);
00019 void rend_consider_services_upload(time_t now);
00020 void rend_hsdir_routers_changed(void);
00021 void rend_consider_descriptor_republication(void);
00022 
00023 void rend_service_intro_has_opened(origin_circuit_t *circuit);
00024 int rend_service_intro_established(origin_circuit_t *circuit,
00025                                    const uint8_t *request,
00026                                    size_t request_len);
00027 void rend_service_rendezvous_has_opened(origin_circuit_t *circuit);
00028 int rend_service_introduce(origin_circuit_t *circuit, const uint8_t *request,
00029                            size_t request_len);
00030 void rend_service_relaunch_rendezvous(origin_circuit_t *oldcirc);
00031 int rend_service_set_connection_addr_port(edge_connection_t *conn,
00032                                           origin_circuit_t *circ);
00033 void rend_service_dump_stats(int severity);
00034 void rend_service_free_all(void);
00035 
00036 #endif
00037