summaryrefslogtreecommitdiff
path: root/common/message.h
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-07-17 18:08:11 +0200
committerStef Walter <stef@thewalter.net>2013-07-18 13:04:37 +0200
commit9a1fe66f08149596567fedb4e2338ae786a19ab9 (patch)
tree562ee2eedc17f0dd83f62890d3b4d12f02ee5a72 /common/message.h
parente403f7b33ac35e961c72ed1b6335bbe3084e4642 (diff)
downloadp11-kit-9a1fe66f08149596567fedb4e2338ae786a19ab9.tar.gz
Avoid using the non-thread-safe strerror() function
https://bugzilla.redhat.com/show_bug.cgi?id=985481
Diffstat (limited to 'common/message.h')
-rw-r--r--common/message.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/message.h b/common/message.h
index 60a7f81..3fe86df 100644
--- a/common/message.h
+++ b/common/message.h
@@ -48,6 +48,10 @@ extern char * (* p11_message_storage) (void);
void p11_message (const char* msg,
...) GNUC_PRINTF (1, 2);
+void p11_message_err (int errnum,
+ const char* msg,
+ ...) GNUC_PRINTF (2, 3);
+
void p11_message_store (const char* msg,
size_t length);