diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-12-20 02:10:42 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2018-12-20 03:41:28 +0100 |
commit | 426c52b377057dc5f4428c664ee56ca77d648c9e (patch) | |
tree | a222bd78e1f148adb8f52117dc38bc7c0ecb3367 /src/feature/control/control.h | |
parent | ed0bc85ed0ac765c91def249afa1390bd03cfe85 (diff) | |
download | tor-426c52b377057dc5f4428c664ee56ca77d648c9e.tar.gz tor-426c52b377057dc5f4428c664ee56ca77d648c9e.zip |
Use K/V parser to handle LOG messages for pluggable transports.
This patch changes the LOG pluggable transport message to use the recent
K/V parser that landed in Tor. This allows PT's to specify the log
severity level as well as the message. A mapping between the PT log
severity levels and Tor's log serverity level is provided.
See: https://bugs.torproject.org/28846
Diffstat (limited to 'src/feature/control/control.h')
-rw-r--r-- | src/feature/control/control.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/control/control.h b/src/feature/control/control.h index a1609b0f06..b3a2707672 100644 --- a/src/feature/control/control.h +++ b/src/feature/control/control.h @@ -207,7 +207,7 @@ 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); -void control_event_pt_log(const char *pt_name, const char *message); +void control_event_pt_log(const char *log); const char *rend_auth_type_to_string(rend_auth_type_t auth_type); MOCK_DECL(const char *, node_describe_longname_by_id,(const char *id_digest)); void control_event_hs_descriptor_requested(const char *onion_address, |