diff options
Diffstat (limited to 'ckcapi.h')
-rw-r--r-- | ckcapi.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -91,6 +91,9 @@ CK_RV ckcapi_winerr_to_ckr (DWORD werr); CK_RV ckcapi_return_data (CK_ATTRIBUTE_PTR attr, CK_VOID_PTR src, DWORD slen); +CK_RV ckcapi_return_data_raw (CK_VOID_PTR output, CK_ULONG_PTR n_output, + CK_VOID_PTR input, CK_ULONG n_input); + /* * This stores a string in the output buffer with appropriate * PKCS#11 codes when the buffer is too short, or the caller @@ -107,6 +110,8 @@ CK_RV ckcapi_return_reversed_data (CK_ATTRIBUTE_PTR attr, /* ------------------------------------------------------------------ */ +typedef void (*CkCapiDestroyFunc)(void* data); + #ifndef ASSERT #include "assert.h" #define ASSERT assert |