#pragma once
// PKCS#11 ls11sw library-specific definitions

#ifdef __cplusplus
extern "C"
{
#endif

#include "pkcs11t_gost.h"

typedef enum
{
    PKCS11_CTRL_EMPTY,          // not used
    PKCS11_CTRL_LOG_PATH,
    PKCS11_CTRL_MAX,
} PKCS11_CTRL;

// Additional API function type for LS11SW configuring
typedef CK_RV (CK_PTR CK_C_Ctrl)
    (int cmd, long i, void *p, void (*f)(void));

#ifdef __cplusplus
}
#endif

