diff options
author | Desoxy <desoxy@fastmail.fm> | 2013-04-03 18:50:51 +0200 |
---|---|---|
committer | Desoxy <desoxy@fastmail.fm> | 2013-04-03 18:50:51 +0200 |
commit | 74f5e304e49b8ccde2b97232c49e5025dba21f59 (patch) | |
tree | cc3639e1857f21444dc019cbf0cfc56b6b93806f /src/or/control.h | |
parent | 2c40138210fe934f687470fc4bd20513982bf424 (diff) | |
download | tor-74f5e304e49b8ccde2b97232c49e5025dba21f59.tar.gz tor-74f5e304e49b8ccde2b97232c49e5025dba21f59.zip |
Controller: Add CACHED keyword to ADDRMAP events (#8596 part 2/2)
Add keyword CACHED="YES"/"NO" to ADDRMAP control events to indicate whether the
DNS response will be cached or not.
Diffstat (limited to 'src/or/control.h')
-rw-r--r-- | src/or/control.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/control.h b/src/or/control.h index 51ae230b09..0ea7941b13 100644 --- a/src/or/control.h +++ b/src/or/control.h @@ -53,7 +53,8 @@ int control_event_stream_bandwidth_used(void); void control_event_logmsg(int severity, uint32_t domain, const char *msg); int control_event_descriptors_changed(smartlist_t *routers); int control_event_address_mapped(const char *from, const char *to, - time_t expires, const char *error); + time_t expires, const char *error, + const int cached); int control_event_or_authdir_new_descriptor(const char *action, const char *desc, size_t desclen, |