summaryrefslogtreecommitdiff
path: root/p11-kit/pin.h
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-06-24 16:36:50 +0200
committerStef Walter <stefw@collabora.co.uk>2011-07-06 12:49:26 +0200
commit1ff1a4895b2d5ff5fe559b96034fb1c3855d4b45 (patch)
tree6341bfd294f6d0790749827377c577fad9044496 /p11-kit/pin.h
parentfd7dee836d0b14efc48bf59955c8a12a72561043 (diff)
downloadp11-kit-1ff1a4895b2d5ff5fe559b96034fb1c3855d4b45.tar.gz
Add documentation for PIN callbacks.
Diffstat (limited to 'p11-kit/pin.h')
-rw-r--r--p11-kit/pin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/p11-kit/pin.h b/p11-kit/pin.h
index 532aa54..9d05331 100644
--- a/p11-kit/pin.h
+++ b/p11-kit/pin.h
@@ -54,7 +54,7 @@ typedef enum {
#define P11_KIT_PIN_FALLBACK ""
-typedef void (*p11_kit_pin_destroy_func) (void *callback_data);
+typedef void (*p11_kit_pin_destroy_func) (void *data);
P11KitPin* p11_kit_pin_new (const unsigned char *value,
size_t length);
@@ -87,7 +87,7 @@ void p11_kit_pin_unregister_callback (const char *pinfile
p11_kit_pin_callback callback,
void *callback_data);
-P11KitPin* p11_kit_pin_retrieve (const char *pinfile,
+P11KitPin* p11_kit_pin_request (const char *pinfile,
P11KitUri *pin_uri,
const char *pin_description,
P11KitPinFlags pin_flags);