summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-18 22:21:29 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-18 22:21:29 +0000
commit55f2ab9cc3c8f2422576f2354d88afdcd9a88e71 (patch)
treef4ce32a0f85eff36acec88dc4ed5d3c3ec1b8bed /src/or/or.h
parentedf56984749e86badfceabb644d5d2fdc0bc6d76 (diff)
downloadtor-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.h4
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);