summaryrefslogtreecommitdiff
path: root/src/p11-tests.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-05 17:57:31 +0000
committerStef Walter <stef@memberwebs.com>2008-12-05 17:57:31 +0000
commitd4c964b8c29e931e7561ac05c7a07445e2b3a26c (patch)
treeee7cd6a0087e2acf7ff0bc2193c2e233e1e59aca /src/p11-tests.h
parent48dc91d0a37f5b45559d017ef224ffcd24c65643 (diff)
Hide some more of the slot info, and id lookups.
Diffstat (limited to 'src/p11-tests.h')
-rw-r--r--src/p11-tests.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/p11-tests.h b/src/p11-tests.h
index 1118e92..b3ddc1e 100644
--- a/src/p11-tests.h
+++ b/src/p11-tests.h
@@ -96,18 +96,13 @@ void p11t_session_tests(void);
* slot.c
*/
-extern CK_INFO p11t_slot_global;
-
extern CK_ULONG p11t_slot_count;
-extern CK_SLOT_ID_PTR p11t_slot_ids;
-extern CK_SLOT_INFO_PTR p11t_slot_info;
-extern CK_TOKEN_INFO_PTR p11t_slot_token_info;
-
-extern CK_ULONG* p11t_slot_mech_count;
-extern CK_MECHANISM_INFO_PTR* p11t_slot_mech_info;
void p11t_slot_tests(void);
+CK_SLOT_ID p11t_slot_get_id(int index);
+CK_SLOT_INFO_PTR p11t_slot_get_info(CK_SLOT_ID slot);
CK_TOKEN_INFO_PTR p11t_slot_get_token_info(CK_SLOT_ID slot);
+
#endif /* P11TESTST_H_ */