Go to the documentation of this file.
21 #include <openssl/x509.h>
26 #define CK_DEFINE_FUNCTION(returnType, name) \
28 #define CK_DECLARE_FUNCTION(returnType, name) \
30 #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
32 #define CK_CALLBACK_FUNCTION(returnType, name) \
57 #define __PASTE(x,y) x##y
65 #define CK_NEED_ARG_LIST 1
66 #define CK_PKCS11_FUNCTION_INFO(name) \
67 extern CK_DECLARE_FUNCTION(CK_RV, name)
73 #undef CK_NEED_ARG_LIST
74 #undef CK_PKCS11_FUNCTION_INFO
84 #define CK_NEED_ARG_LIST 1
85 #define CK_PKCS11_FUNCTION_INFO(name) \
86 typedef CK_DECLARE_FUNCTION_POINTER(CK_RV, __PASTE(CK_,name))
92 #undef CK_NEED_ARG_LIST
93 #undef CK_PKCS11_FUNCTION_INFO
105 #define CK_PKCS11_FUNCTION_INFO(name) \
106 __PASTE(CK_,name) name;
119 #undef CK_PKCS11_FUNCTION_INFO