summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/library.c8
-rw-r--r--common/library.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/common/library.c b/common/library.c
index d0c246c..de340bb 100644
--- a/common/library.c
+++ b/common/library.c
@@ -116,6 +116,14 @@ p11_message_quiet (void)
p11_unlock ();
}
+void
+p11_message_loud (void)
+{
+ p11_lock ();
+ print_messages = true;
+ p11_unlock ();
+}
+
const char*
p11_message_last (void)
{
diff --git a/common/library.h b/common/library.h
index f7d5058..338dc0f 100644
--- a/common/library.h
+++ b/common/library.h
@@ -60,6 +60,8 @@ void p11_message_clear (void);
void p11_message_quiet (void);
+void p11_message_loud (void);
+
#ifdef OS_WIN32
/* No implementation, because done by DllMain */