summaryrefslogtreecommitdiff
path: root/p11-kit/uri.h
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/uri.h')
-rw-r--r--p11-kit/uri.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/p11-kit/uri.h b/p11-kit/uri.h
index c8bc9c7..2c8d2d8 100644
--- a/p11-kit/uri.h
+++ b/p11-kit/uri.h
@@ -76,10 +76,20 @@ typedef enum {
} P11KitUriResult;
typedef enum {
- P11_KIT_URI_IS_MODULE = (1 << 1),
- P11_KIT_URI_IS_TOKEN = (1 << 2) | P11_KIT_URI_IS_MODULE,
- P11_KIT_URI_IS_OBJECT = (1 << 3) | P11_KIT_URI_IS_TOKEN,
- P11_KIT_URI_IS_ANY = 0x0000FFFF,
+ P11_KIT_URI_FOR_OBJECT = (1 << 1),
+ P11_KIT_URI_FOR_TOKEN = (1 << 2),
+ P11_KIT_URI_FOR_MODULE = (1 << 3),
+
+ P11_KIT_URI_FOR_MODULE_WITH_VERSION =
+ (1 << 4) | P11_KIT_URI_FOR_MODULE,
+
+ P11_KIT_URI_FOR_OBJECT_ON_TOKEN =
+ P11_KIT_URI_FOR_OBJECT | P11_KIT_URI_FOR_TOKEN,
+
+ P11_KIT_URI_FOR_OBJECT_ON_TOKEN_AND_MODULE =
+ P11_KIT_URI_FOR_OBJECT_ON_TOKEN | P11_KIT_URI_FOR_MODULE,
+
+ P11_KIT_URI_FOR_ANY = 0x0000FFFF,
} P11KitUriType;
typedef struct p11_kit_uri P11KitUri;