blob: 5434fc40acce61273fbbb7999235ca1b8ce2355b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
@deftypefun {int} {gnutls_pkcs11_token_get_ptr} (const char * @var{url}, void ** @var{ptr}, unsigned long * @var{slot_id}, unsigned int @var{flags})
@var{url}: should contain a PKCS@code{11} URL identifying a token
@var{ptr}: will contain the CK_FUNCTION_LIST_PTR pointer
@var{slot_id}: will contain the slot_id (may be @code{NULL} )
@var{flags}: should be zero
This function will return the function pointer of the specified
token by the URL. The returned pointers are valid until
gnutls is deinitialized, c.f. @code{_global_deinit()} .
@strong{Returns:} @code{GNUTLS_E_SUCCESS} (0) on success or a negative error code
on error.
@strong{Since:} 3.6.3
@end deftypefun
|