Lines Matching refs:name
76 * 2. CK_DECLARE_FUNCTION(returnType, name): A macro which makes
78 * return type and a function name. It should be used in the
88 * #define CK_DECLARE_FUNCTION(returnType, name) \
89 * returnType __declspec(dllimport) name
95 * #define CK_DECLARE_FUNCTION(returnType, name) \
96 * returnType __export _far _pascal name
100 * #define CK_DECLARE_FUNCTION(returnType, name) \
101 * returnType name
104 * 3. CK_DECLARE_FUNCTION_POINTER(returnType, name): A macro
107 * function name. It should be used in the following fashion:
125 * #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
126 * returnType __declspec(dllimport) (* name)
132 * #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
133 * returnType __export _far _pascal (* name)
137 * #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
138 * returnType (* name)
141 * 4. CK_CALLBACK_FUNCTION(returnType, name): A macro which makes
143 * a return type for the callback and a name for the callback.
158 * #define CK_CALLBACK_FUNCTION(returnType, name) \
159 * returnType (* name)
164 * #define CK_CALLBACK_FUNCTION(returnType, name) \
165 * returnType _far _pascal (* name)
169 * #define CK_CALLBACK_FUNCTION(returnType, name) \
170 * returnType (* name)
198 #define CK_PKCS11_FUNCTION_INFO(name) \
199 extern CK_DECLARE_FUNCTION(CK_RV, name)
218 #define CK_PKCS11_FUNCTION_INFO(name) \
219 typedef CK_DECLARE_FUNCTION_POINTER(CK_RV, __PASTE(CK_,name))
239 #define CK_PKCS11_FUNCTION_INFO(name) \
240 __PASTE(CK_,name) name;