pam_pkcs11  0.6.10
Data Structures | Macros
pkcs11.h File Reference
#include <openssl/x509.h>
#include "pkcs11t.h"
#include "pkcs11f.h"

Go to the source code of this file.

Data Structures

struct  CK_FUNCTION_LIST
 

Macros

#define CK_PTR   *
 
#define CK_DEFINE_FUNCTION(returnType, name)   returnType name
 
#define CK_DECLARE_FUNCTION(returnType, name)   returnType name
 
#define CK_DECLARE_FUNCTION_POINTER(returnType, name)   returnType (* name)
 
#define CK_CALLBACK_FUNCTION(returnType, name)   returnType (* name)
 
#define NULL_PTR   0
 
#define __PASTE(x, y)   x##y
 
#define CK_NEED_ARG_LIST   1
 
#define CK_PKCS11_FUNCTION_INFO(name)   extern CK_DECLARE_FUNCTION(CK_RV, name)
 
#define CK_PKCS11_FUNCTION_INFO(name)   typedef CK_DECLARE_FUNCTION_POINTER(CK_RV, __PASTE(CK_,name))
 
#define CK_PKCS11_FUNCTION_INFO(name)   __PASTE(CK_,name) name;
 

Macro Definition Documentation

◆ __PASTE

#define __PASTE (   x,
 
)    x##y

Definition at line 57 of file pkcs11.h.

◆ CK_CALLBACK_FUNCTION

#define CK_CALLBACK_FUNCTION (   returnType,
  name 
)    returnType (* name)

Definition at line 32 of file pkcs11.h.

◆ CK_DECLARE_FUNCTION

#define CK_DECLARE_FUNCTION (   returnType,
  name 
)    returnType name

Definition at line 28 of file pkcs11.h.

◆ CK_DECLARE_FUNCTION_POINTER

#define CK_DECLARE_FUNCTION_POINTER (   returnType,
  name 
)    returnType (* name)

Definition at line 30 of file pkcs11.h.

◆ CK_DEFINE_FUNCTION

#define CK_DEFINE_FUNCTION (   returnType,
  name 
)    returnType name

Definition at line 26 of file pkcs11.h.

◆ CK_NEED_ARG_LIST

#define CK_NEED_ARG_LIST   1

Definition at line 65 of file pkcs11.h.

◆ CK_PKCS11_FUNCTION_INFO [1/3]

#define CK_PKCS11_FUNCTION_INFO (   name)    extern CK_DECLARE_FUNCTION(CK_RV, name)

Definition at line 105 of file pkcs11.h.

◆ CK_PKCS11_FUNCTION_INFO [2/3]

#define CK_PKCS11_FUNCTION_INFO (   name)    typedef CK_DECLARE_FUNCTION_POINTER(CK_RV, __PASTE(CK_,name))

Definition at line 105 of file pkcs11.h.

◆ CK_PKCS11_FUNCTION_INFO [3/3]

#define CK_PKCS11_FUNCTION_INFO (   name)    __PASTE(CK_,name) name;

Definition at line 105 of file pkcs11.h.

◆ CK_PTR

#define CK_PTR   *

Definition at line 25 of file pkcs11.h.

◆ NULL_PTR

#define NULL_PTR   0

Definition at line 35 of file pkcs11.h.