summaryrefslogtreecommitdiff
path: root/p11-kit/virtual-fixed.h
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/virtual-fixed.h')
-rw-r--r--p11-kit/virtual-fixed.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/p11-kit/virtual-fixed.h b/p11-kit/virtual-fixed.h
index 1cb685d..cc3b2c0 100644
--- a/p11-kit/virtual-fixed.h
+++ b/p11-kit/virtual-fixed.h
@@ -32,6 +32,10 @@
* Author: Daiki Ueno
*/
+#ifndef __P11_VIRTUAL_FIXED_H__
+#define __P11_VIRTUAL_FIXED_H__
+
+/* The maximum number of precompiled closures. */
#define P11_VIRTUAL_MAX_FIXED 64
#define P11_VIRTUAL_FIXED_FUNCTIONS(fixed_index) \
@@ -1133,3 +1137,8 @@ fixed ## fixed_index ## _C_GetFunctionList (CK_FUNCTION_LIST_PTR_PTR list) \
short_C_CancelFunction, \
fixed ## fixed_index ## _C_WaitForSlotEvent \
}
+
+void p11_virtual_fixed_init (void);
+void p11_virtual_fixed_uninit (void);
+
+#endif /* __P11_VIRTUAL_FIXED_H__ */