summaryrefslogtreecommitdiff
path: root/ckcapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'ckcapi.h')
-rw-r--r--ckcapi.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ckcapi.h b/ckcapi.h
index d3ead45..4e69c0d 100644
--- a/ckcapi.h
+++ b/ckcapi.h
@@ -60,7 +60,7 @@ typedef struct _CkCapiObjectData
{
CK_OBJECT_HANDLE object;
void* data;
- CkCapiObjectDataVtable data_funcs;
+ const CkCapiObjectDataVtable* data_funcs;
}
CkCapiObjectData;
@@ -175,9 +175,7 @@ CkCapiObjectVtable;
struct _CkCapiObject
{
CK_OBJECT_HANDLE id;
-
- // These items must remain together in the structure
- CkCapiObjectVtable obj_funcs;
+ const CkCapiObjectVtable* obj_funcs;
void* unique_key;
size_t unique_len;
};