diff options
author | Daiki Ueno <dueno@redhat.com> | 2016-08-08 13:33:14 +0200 |
---|---|---|
committer | Stef Walter <stefw@redhat.com> | 2016-09-02 17:48:35 +0200 |
commit | 8577e4dc23349ae8d04708190de6d1ae469ab460 (patch) | |
tree | c7e4ca446d557d14d967b6a452951482d7e4434e /p11-kit/uri.h | |
parent | 63644dcb6ccf52508f41633945fce9c3a8e46d3d (diff) | |
download | p11-kit-8577e4dc23349ae8d04708190de6d1ae469ab460.tar.gz |
uri: Support slot info path attributes
Accept 'slot-description' and 'slot-manifacturer' path attributes
defined in RFC 7512.
https://bugs.freedesktop.org/show_bug.cgi?id=97245
Diffstat (limited to 'p11-kit/uri.h')
-rw-r--r-- | p11-kit/uri.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/p11-kit/uri.h b/p11-kit/uri.h index 0c20d85..ca638b0 100644 --- a/p11-kit/uri.h +++ b/p11-kit/uri.h @@ -59,6 +59,7 @@ typedef enum { typedef enum { P11_KIT_URI_FOR_OBJECT = (1 << 1), P11_KIT_URI_FOR_TOKEN = (1 << 2), + P11_KIT_URI_FOR_SLOT = (1 << 5), P11_KIT_URI_FOR_MODULE = (1 << 3), P11_KIT_URI_FOR_MODULE_WITH_VERSION = @@ -95,6 +96,11 @@ CK_INFO_PTR p11_kit_uri_get_module_info (P11KitUri *uri); int p11_kit_uri_match_module_info (P11KitUri *uri, CK_INFO_PTR info); +CK_SLOT_INFO_PTR p11_kit_uri_get_slot_info (P11KitUri *uri); + +int p11_kit_uri_match_slot_info (P11KitUri *uri, + CK_SLOT_INFO_PTR slot_info); + CK_TOKEN_INFO_PTR p11_kit_uri_get_token_info (P11KitUri *uri); int p11_kit_uri_match_token_info (P11KitUri *uri, |