summaryrefslogtreecommitdiff
path: root/p11-kit/pin.h
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/pin.h')
-rw-r--r--p11-kit/pin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/p11-kit/pin.h b/p11-kit/pin.h
index 9d05331..07e7f6a 100644
--- a/p11-kit/pin.h
+++ b/p11-kit/pin.h
@@ -41,7 +41,7 @@
extern "C" {
#endif
-typedef struct _P11KitPin P11KitPin;
+typedef struct p11_kit_pin P11KitPin;
typedef enum {
P11_KIT_PIN_FLAGS_USER_LOGIN = 1,
@@ -72,6 +72,8 @@ void p11_kit_pin_unref (P11KitPin *pin);
const unsigned char * p11_kit_pin_get_value (P11KitPin *pin,
size_t *length);
+size_t p11_kit_pin_get_length (P11KitPin *pin);
+
typedef P11KitPin* (*p11_kit_pin_callback) (const char *pinfile,
P11KitUri *pin_uri,
const char *pin_description,