summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 8fbf4b6d8e..b5c7c3df91 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -40,6 +40,11 @@ void mp_msg_set_level(int verbose){
}
}
+int mp_msg_test(int mod, int lev)
+{
+ return lev <= mp_msg_levels[mod];
+}
+
void mp_msg_c( int x, const char *format, ... ){
#if 1
va_list va;