aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/log.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-07-19 10:17:22 -0400
committerNick Mathewson <nickm@torproject.org>2019-07-19 10:17:22 -0400
commit5fb070a14da4802f11e84ed83143668502a227c4 (patch)
tree59af413736d2c4c802e43d2654e5aeecb2f87e72 /src/lib/log/log.h
parentf682de609b456ccfdb19aef1a1afa8c0873ceb51 (diff)
downloadtor-5fb070a14da4802f11e84ed83143668502a227c4.tar.gz
tor-5fb070a14da4802f11e84ed83143668502a227c4.zip
Extract the log_domain_t type to a lower-level header
This way, both err and log may depend on it.
Diffstat (limited to 'src/lib/log/log.h')
-rw-r--r--src/lib/log/log.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/log/log.h b/src/lib/log/log.h
index 301c7d571c..c4a27782c3 100644
--- a/src/lib/log/log.h
+++ b/src/lib/log/log.h
@@ -16,6 +16,7 @@
#include <stdarg.h>
#include "lib/cc/torint.h"
#include "lib/cc/compat_compiler.h"
+#include "lib/defs/logging_types.h"
#include "lib/testsupport/testsupport.h"
#ifdef HAVE_SYSLOG_H
@@ -132,9 +133,6 @@
* would. Used as a flag, not a log domain. */
#define LD_NOFUNCNAME (UINT64_C(1)<<63)
-/** Mask of zero or more log domains, OR'd together. */
-typedef uint64_t log_domain_mask_t;
-
/** Configures which severities are logged for each logging domain for a given
* log target. */
typedef struct log_severity_list_t {