Go to the documentation of this file.
31 #ifndef P6API_FPOINTER
32 #define P6API_FPOINTER
132 #define CK_DEFINE_FUNCTION(returnType, name) \
133 P6API_DEFINE returnType name
164 #define CK_DECLARE_FUNCTION(returnType, name) \
165 P6API_DECLARE returnType name
206 #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
207 P6API_FPOINTER returnType (* name)
241 #define CK_CALLBACK_FUNCTION(returnType, name) \
260 #define __PASTE(x,y) x##y
268 #define CK_NEED_ARG_LIST 1
269 #define CK_PKCS11_FUNCTION_INFO(name) \
270 extern CK_DECLARE_FUNCTION(CK_RV, name)
276 #undef CK_NEED_ARG_LIST
277 #undef CK_PKCS11_FUNCTION_INFO
287 #define CK_NEED_ARG_LIST 1
288 #define CK_PKCS11_FUNCTION_INFO(name) \
289 typedef CK_DECLARE_FUNCTION_POINTER(CK_RV, __PASTE(CK_,name))
295 #undef CK_NEED_ARG_LIST
296 #undef CK_PKCS11_FUNCTION_INFO
308 #define CK_PKCS11_FUNCTION_INFO(name) \
309 __PASTE(CK_,name) name;
322 #undef CK_PKCS11_FUNCTION_INFO