summaryrefslogtreecommitdiff
path: root/common/library.h
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-02 20:40:53 +0200
committerStef Walter <stefw@gnome.org>2013-04-03 10:39:09 +0200
commitfcc3a83cc4d540bc2c4096524b5e8003046ba561 (patch)
tree5bc566d6813448f83269797ce05aadeb02cdf36f /common/library.h
parentae7dd1be6d431f25b101bc7e2b3fa373a8cbb47b (diff)
downloadp11-kit-fcc3a83cc4d540bc2c4096524b5e8003046ba561.tar.gz
Separate library init from message code
Put library init/uninit code its into their own statically linked library so that they don't get linked into the p11-kit executable. Refactor the message code so that the library initialization can plug in its per thread message buffer. https://bugs.freedesktop.org/show_bug.cgi?id=63046
Diffstat (limited to 'common/library.h')
-rw-r--r--common/library.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/common/library.h b/common/library.h
index b310cb9..33a33fb 100644
--- a/common/library.h
+++ b/common/library.h
@@ -48,20 +48,6 @@ extern p11_mutex_t p11_library_mutex;
#define p11_unlock() p11_mutex_unlock (&p11_library_mutex);
-void p11_message (const char* msg,
- ...) GNUC_PRINTF (1, 2);
-
-void p11_message_store (const char* msg,
- size_t length);
-
-const char * p11_message_last (void);
-
-void p11_message_clear (void);
-
-void p11_message_quiet (void);
-
-void p11_message_loud (void);
-
#ifdef OS_WIN32
/* No implementation, because done by DllMain */