diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-18 22:21:29 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-18 22:21:29 +0000 |
commit | 55f2ab9cc3c8f2422576f2354d88afdcd9a88e71 (patch) | |
tree | f4ce32a0f85eff36acec88dc4ed5d3c3ec1b8bed /src/or/or.h | |
parent | edf56984749e86badfceabb644d5d2fdc0bc6d76 (diff) | |
download | tor-55f2ab9cc3c8f2422576f2354d88afdcd9a88e71.tar.gz tor-55f2ab9cc3c8f2422576f2354d88afdcd9a88e71.zip |
Migrate a few more files to domained logging
svn:r5285
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index dd4a7feeb1..77a1b2f4eb 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -133,7 +133,9 @@ #include "../common/crypto.h" #include "../common/tortls.h" +#ifndef NEW_LOG_INTERFACE #define OLD_LOG_INTERFACE +#endif #include "../common/log.h" #include "../common/compat.h" #include "../common/container.h" @@ -1718,7 +1720,7 @@ int control_event_circuit_status(circuit_t *circ, circuit_status_event_t e); int control_event_stream_status(connection_t *conn, stream_status_event_t e); int control_event_or_conn_status(connection_t *conn, or_conn_status_event_t e); int control_event_bandwidth_used(uint32_t n_read, uint32_t n_written); -void control_event_logmsg(int severity, const char *msg); +void control_event_logmsg(int severity, int 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); |