summaryrefslogtreecommitdiffstats
path: root/lib/pin.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pin.h')
-rw-r--r--lib/pin.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/pin.h b/lib/pin.h
new file mode 100644
index 0000000..a21b185
--- /dev/null
+++ b/lib/pin.h
@@ -0,0 +1,11 @@
+#ifndef GNUTLS_LIB_PIN_H
+#define GNUTLS_LIB_PIN_H
+
+extern gnutls_pin_callback_t _gnutls_pin_func;
+extern void *_gnutls_pin_data;
+
+int
+_gnutls_retrieve_pin(struct pin_info_st *pin_info, const char *url, const char *label,
+ unsigned pin_flags, char *pin, unsigned pin_size);
+
+#endif /* GNUTLS_LIB_PIN_H */