summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-20 19:58:13 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:34:18 +0200
commit7fd0c830d968e67be555bd1aeabced4cc5e08061 (patch)
treef313a2b194ebd857192efd2585167d52ec6a9762 /include/osmocom
parentf3c7e85d05f7b2b7bf093162b776f71b2bc6420d (diff)
libctrl: Add DLCTRL as logging context for the control interface
... and make libctrl code use it
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/logging.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index caeea065..3c5e7b15 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -67,7 +67,8 @@ void logp(int subsys, const char *file, int line, int cont, const char *format,
#define DLMI -5
#define DLMIB -6
#define DLSMS -7
-#define OSMO_NUM_DLIB 7
+#define DLCTRL -8
+#define OSMO_NUM_DLIB 8
struct log_category {
uint8_t loglevel;