diff options
author | Stef Walter <stef@memberwebs.com> | 2008-12-05 17:39:21 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-12-05 17:39:21 +0000 |
commit | 9d75f49f5818d4cf0f960f2fa113aaefff543df7 (patch) | |
tree | 4e717abeaa742384d58f2a5e187b66c4bdf21265 /src/p11-tests.h | |
parent | 8ebef7ee31f973b64dce777297cba0b3cfe0f3fe (diff) |
Implement GetAttributeValue tests.
Diffstat (limited to 'src/p11-tests.h')
-rw-r--r-- | src/p11-tests.h | 7 |
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); /* ------------------------------------------------------------------- |