aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/debug.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-28 18:54:32 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-01-02 11:43:06 +0100
commit6995f24831b70ef64bd08976f2aecc5314fe9862 (patch)
tree2d8465b045245304156394930a4ff60ad9d6cf04 /openbsc/include/openbsc/debug.h
parentb7ccac4d620271e8780fdc7640cba96c275bdf85 (diff)
logging: Only compare the subscr address
Move the "logging filter imsi IMSI" into the BTS/NITB code to allow to set the gsm_subscriber and only compare it. This way we simply compare the subscriber address and don't have to care if the subscriber data is still valid.
Diffstat (limited to 'openbsc/include/openbsc/debug.h')
-rw-r--r--openbsc/include/openbsc/debug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index d851181c7..bbb3ee618 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -53,8 +53,9 @@ enum {
/* we don't need a header dependency for this... */
struct gprs_nsvc;
struct bssgp_bvc_ctx;
+struct gsm_subscriber;
-void log_set_imsi_filter(struct log_target *target, const char *imsi);
+void log_set_imsi_filter(struct log_target *target, struct gsm_subscriber *subscr);
void log_set_nsvc_filter(struct log_target *target,
struct gprs_nsvc *nsvc);
void log_set_bvc_filter(struct log_target *target,