cryptoki-generic.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* cryptoki-generic.h include file for PKCS #11. */
  2. /* License to copy and use this software is granted provided that it is
  3. * identified as "RSA Security Inc. PKCS #11 Cryptographic Token Interface
  4. * (Cryptoki)" in all material mentioning or referencing this software.
  5. * License is also granted to make and use derivative works provided that
  6. * such works are identified as "derived from the RSA Security Inc. PKCS #11
  7. * Cryptographic Token Interface (Cryptoki)" in all material mentioning or
  8. * referencing the derived work.
  9. * RSA Security Inc. makes no representations concerning either the
  10. * merchantability of this software or the suitability of this software for
  11. * any particular purpose. It is provided "as is" without express or implied
  12. * warranty of any kind.
  13. */
  14. /* This is a sample file containing the top level include directives
  15. * for building Win32 Cryptoki libraries and applications.
  16. */
  17. #ifndef ___CRYPTOKI_H_INC___
  18. #define ___CRYPTOKI_H_INC___
  19. #define CK_PTR *
  20. #define CK_DEFINE_FUNCTION(returnType, name) \
  21. returnType name
  22. #define CK_DECLARE_FUNCTION(returnType, name) \
  23. returnType name
  24. #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
  25. returnType (* name)
  26. #define CK_CALLBACK_FUNCTION(returnType, name) \
  27. returnType (* name)
  28. #ifndef NULL_PTR
  29. #define NULL_PTR 0
  30. #endif
  31. #include "pkcs11.h"
  32. #endif /* ___CRYPTOKI_H_INC___ */