summaryrefslogtreecommitdiff
path: root/src/p11-tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/p11-tests.h')
-rw-r--r--src/p11-tests.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/p11-tests.h b/src/p11-tests.h
index d30e1cc..1118e92 100644
--- a/src/p11-tests.h
+++ b/src/p11-tests.h
@@ -44,6 +44,10 @@ int p11t_check_flag(const char *message, CK_ULONG flags, CK_ULONG flag);
int p11t_check_nflag(const char *message, CK_ULONG flags, CK_ULONG nflag);
+int p11t_check_bool(const char *message, CK_BBOOL value);
+
+int p11t_check_string(const char *message, CK_UTF8CHAR_PTR value, CK_ULONG length);
+
/* -------------------------------------------------------------------
* config.c
*/
@@ -69,6 +73,9 @@ void p11t_module_finalize(void);
* object.c
*/
+CK_OBJECT_HANDLE_PTR p11t_object_find(CK_SESSION_HANDLE session, CK_ATTRIBUTE_PTR attrs,
+ CK_ULONG n_attrs, CK_ULONG_PTR n_objects);
+
void p11t_object_tests(void);
/* -------------------------------------------------------------------