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 6d50c6c..1180b27 100644
--- a/trust/token.h
+++ b/trust/token.h
@@ -37,6 +37,7 @@
#include "dict.h"
#include "index.h"
+#include "parser.h"
#include "pkcs11.h"
typedef struct _p11_token p11_token;
@@ -49,11 +50,13 @@ void p11_token_free (p11_token *token);
int p11_token_load (p11_token *token);
-void p11_token_reload (p11_token *token,
+bool p11_token_reload (p11_token *token,
CK_ATTRIBUTE *attrs);
p11_index * p11_token_index (p11_token *token);
+p11_parser * p11_token_parser (p11_token *token);
+
const char * p11_token_get_path (p11_token *token);
const char * p11_token_get_label (p11_token *token);