Go to the documentation of this file.
14 #ifndef P6API_FPOINTER
15 #define P6API_FPOINTER
19 #pragma pack(push, p6rcryptoki, 1)
115 #define CK_DECLARE_FUNCTION(returnType, name) \
116 P6API_DECLARE returnType name
156 #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
157 P6API_FPOINTER returnType (* name)
192 #define CK_CALLBACK_FUNCTION(returnType, name) \
212 #define __PASTE(x,y) x##y
220 #define CK_NEED_ARG_LIST 1
221 #define CK_PKCS11_FUNCTION_INFO(name) \
222 extern CK_DECLARE_FUNCTION(CK_RV, name)
229 #undef CK_NEED_ARG_LIST
230 #undef CK_PKCS11_FUNCTION_INFO
240 #define CK_NEED_ARG_LIST 1
241 #define CK_PKCS11_FUNCTION_INFO(name) \
242 typedef CK_DECLARE_FUNCTION_POINTER(CK_RV, __PASTE(CK_,name))
249 #undef CK_NEED_ARG_LIST
250 #undef CK_PKCS11_FUNCTION_INFO
262 #define CK_PKCS11_FUNCTION_INFO(name) \
263 __PASTE(CK_,name) name;
277 #undef CK_PKCS11_FUNCTION_INFO
284 #pragma pack(pop, p6rcryptoki)