summaryrefslogtreecommitdiff
path: root/src/p11-tests.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-05 16:37:29 +0000
committerStef Walter <stef@memberwebs.com>2008-12-05 16:37:29 +0000
commit8ebef7ee31f973b64dce777297cba0b3cfe0f3fe (patch)
tree53ecaacefac2ef75e6a13f59cec53d85ca830e3d /src/p11-tests.h
parente0c53da1d03328ea7aa29116c4452c4632f286a2 (diff)
Add support for testing FindObjects.
Diffstat (limited to 'src/p11-tests.h')
-rw-r--r--src/p11-tests.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/p11-tests.h b/src/p11-tests.h
index 425032d..d30e1cc 100644
--- a/src/p11-tests.h
+++ b/src/p11-tests.h
@@ -66,9 +66,21 @@ void p11t_module_initialize(void);
void p11t_module_finalize(void);
/* -------------------------------------------------------------------
+ * object.c
+ */
+
+void p11t_object_tests(void);
+
+/* -------------------------------------------------------------------
* session.c
*/
+CK_SESSION_HANDLE p11t_session_open(CK_SLOT_ID slot, int readwrite);
+int p11t_session_login(CK_SESSION_HANDLE handle);
+int p11t_session_logout(CK_SESSION_HANDLE handle);
+int p11t_session_close(CK_SESSION_HANDLE handle);
+int p11t_session_close_all(CK_SLOT_ID slot);
+
void p11t_session_config(const char *name, const char *value);
void p11t_session_tests(void);