summaryrefslogtreecommitdiff
path: root/p11-kit/p11-kit-uri.h
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/p11-kit-uri.h')
-rw-r--r--p11-kit/p11-kit-uri.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/p11-kit/p11-kit-uri.h b/p11-kit/p11-kit-uri.h
index b6af4ff..698efec 100644
--- a/p11-kit/p11-kit-uri.h
+++ b/p11-kit/p11-kit-uri.h
@@ -82,8 +82,8 @@ CK_TOKEN_INFO_PTR p11_kit_uri_get_token_info (P11KitUri *uri);
int p11_kit_uri_match_token_info (P11KitUri *uri,
CK_TOKEN_INFO_PTR token_info);
-CK_ATTRIBUTE_TYPE* p11_kit_uri_get_attribute_types (P11KitUri *uri,
- int *n_types);
+CK_ATTRIBUTE_PTR p11_kit_uri_get_attributes (P11KitUri *uri,
+ CK_ULONG *n_attrs);
CK_ATTRIBUTE_PTR p11_kit_uri_get_attribute (P11KitUri *uri,
CK_ATTRIBUTE_TYPE attr_type);
@@ -98,6 +98,11 @@ int p11_kit_uri_match_attributes (P11KitUri *uri,
CK_ATTRIBUTE_PTR attrs,
CK_ULONG n_attrs);
+const char* p11_kit_uri_get_pinfile (P11KitUri *uri);
+
+void p11_kit_uri_set_pinfile (P11KitUri *uri,
+ const char *pinfile);
+
void p11_kit_uri_set_unrecognized (P11KitUri *uri,
int unrecognized);