summaryrefslogtreecommitdiff
path: root/trust/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'trust/token.h')
-rw-r--r--trust/token.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/trust/token.h b/trust/token.h
index 43cebaa..d7375e7 100644
--- a/trust/token.h
+++ b/trust/token.h
@@ -42,7 +42,8 @@
typedef struct _p11_token p11_token;
p11_token * p11_token_new (CK_SLOT_ID slot,
- const char *path);
+ const char *path,
+ const char *label);
void p11_token_free (p11_token *token);
@@ -52,6 +53,8 @@ p11_index * p11_token_index (p11_token *token);
const char * p11_token_get_path (p11_token *token);
+const char * p11_token_get_label (p11_token *token);
+
CK_SLOT_ID p11_token_get_slot (p11_token *token);
#endif /* P11_TOKEN_H_ */