diff options
author | Qingping Hou <dave2008713@gmail.com> | 2013-10-09 11:13:06 -0400 |
---|---|---|
committer | Qingping Hou <dave2008713@gmail.com> | 2014-01-29 22:23:57 -0500 |
commit | 29c18f5b71d73a03b9895fbbf97a3a5a16099a50 (patch) | |
tree | 3e59a10e4a958de118075a05aebd298db5f40993 /src/or/control.h | |
parent | 3b38fd87e812a104f835af59abeda012928e21b7 (diff) | |
download | tor-29c18f5b71d73a03b9895fbbf97a3a5a16099a50.tar.gz tor-29c18f5b71d73a03b9895fbbf97a3a5a16099a50.zip |
add hidden service descriptor async control event
Diffstat (limited to 'src/or/control.h')
-rw-r--r-- | src/or/control.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/or/control.h b/src/or/control.h index c8db643b7d..be3cc2420e 100644 --- a/src/or/control.h +++ b/src/or/control.h @@ -99,6 +99,17 @@ void control_event_clients_seen(const char *controller_str); void control_event_transport_launched(const char *mode, const char *transport_name, tor_addr_t *addr, uint16_t port); +const char *rend_auth_type_to_string(rend_auth_type_t auth_type); +void control_event_hs_descriptor_requested(const rend_data_t *rend_query, + const char *desc_id_base32, + const char *hs_dir); +void control_event_hs_descriptor_receive_end(const char *action, + const rend_data_t *rend_query, + const char *hs_dir); +void control_event_hs_descriptor_received(const rend_data_t *rend_query, + const char *hs_dir); +void control_event_hs_descriptor_failed(const rend_data_t *rend_query, + const char *hs_dir); void control_free_all(void); @@ -140,7 +151,8 @@ void control_free_all(void); #define EVENT_TB_EMPTY 0x001C #define EVENT_CIRC_BANDWIDTH_USED 0x001D #define EVENT_TRANSPORT_LAUNCHED 0x0020 -#define EVENT_MAX_ 0x0020 +#define EVENT_HS_DESC 0x0021 +#define EVENT_MAX_ 0x0021 /* If EVENT_MAX_ ever hits 0x0040, we need to make the mask into a * different structure. */ |