summaryrefslogtreecommitdiff
path: root/lib/pin.h
blob: 81d05c969ff3c99af9dadb36ccedafdc23b953cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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 */