More GetTokenInfo.

This commit is contained in:
Alessio Di Mauro
2015-07-06 16:42:36 +02:00
parent f95c6f2f2d
commit 9f6dfed7cd
6 changed files with 88 additions and 21 deletions
+10 -2
View File
@@ -8,10 +8,18 @@ typedef enum {
YUBICO = 0x01
} vendor_id_t;
typedef CK_VERSION (*get_version_f)(char *, int);
typedef CK_VERSION (*get_version_f)(CK_UTF8CHAR_PTR, CK_ULONG);
typedef CK_UTF8CHAR_PTR (*get_label_f)(void);
typedef CK_UTF8CHAR_PTR (*get_manufacturer_f)(void);
typedef CK_UTF8CHAR_PTR (*get_model_f)(void);
typedef CK_FLAGS (*get_flags_f)(void);
typedef struct {
get_version_f get_version;
get_version_f get_version;
get_label_f get_label;
get_manufacturer_f get_manufacturer;
get_model_f get_model;
get_flags_f get_flags;
} vendor_t;
vendor_id_t get_vendor_id(char *vendor_name);