Blame doc/functions/gnutls_pkcs11_token_get_url
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_pkcs11_token_get_url} (unsigned int @var{seq}, gnutls_pkcs11_url_type_t @var{detailed}, char ** @var{url})
|
|
Packit Service |
4684c1 |
@var{seq}: sequence number starting from 0
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{detailed}: non zero if a detailed URL is required
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{url}: will contain an allocated url
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will return the URL for each token available
|
|
Packit Service |
4684c1 |
in system. The url has to be released using @code{gnutls_free()}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned,
|
|
Packit Service |
4684c1 |
@code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE} if the sequence number
|
|
Packit Service |
4684c1 |
exceeds the available tokens, otherwise a negative error value.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 2.12.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|