aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpgme-vala/src/gpgme_fix.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpgme-vala/src/gpgme_fix.h')
-rw-r--r--plugins/gpgme-vala/src/gpgme_fix.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/gpgme-vala/src/gpgme_fix.h b/plugins/gpgme-vala/src/gpgme_fix.h
new file mode 100644
index 00000000..3daa7db0
--- /dev/null
+++ b/plugins/gpgme-vala/src/gpgme_fix.h
@@ -0,0 +1,12 @@
+#ifndef GPGME_FIX
+#define GPGME_FIX 1
+
+#include <glib.h>
+#include <gpgme.h>
+
+static GRecMutex gpgme_global_mutex;
+
+gpgme_key_t gpgme_key_ref_vapi (gpgme_key_t key);
+gpgme_key_t gpgme_key_unref_vapi (gpgme_key_t key);
+
+#endif \ No newline at end of file