summaryrefslogtreecommitdiff
path: root/ckcapi-token.c
diff options
context:
space:
mode:
Diffstat (limited to 'ckcapi-token.c')
-rw-r--r--ckcapi-token.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ckcapi-token.c b/ckcapi-token.c
index a1db1ab..c0a6977 100644
--- a/ckcapi-token.c
+++ b/ckcapi-token.c
@@ -18,6 +18,8 @@
*/
#include "ckcapi.h"
+#include "ckcapi-object.h"
+#include "ckcapi-token.h"
static CkCapiArray* object_array = NULL;
static CkCapiHash* object_hash = NULL;
@@ -54,6 +56,7 @@ ckcapi_token_get_count(void)
return sizeof(slot_info) / sizeof(slot_info[0]);
}
+CK_SLOT_ID
ckcapi_token_get_slot_id(unsigned int offset)
{
ASSERT(offset < ckcapi_token_get_count());