diff options
Diffstat (limited to 'doc/functions/gnutls_pkcs11_token_get_url')
-rw-r--r-- | doc/functions/gnutls_pkcs11_token_get_url | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/functions/gnutls_pkcs11_token_get_url b/doc/functions/gnutls_pkcs11_token_get_url new file mode 100644 index 0000000..e02b69f --- /dev/null +++ b/doc/functions/gnutls_pkcs11_token_get_url @@ -0,0 +1,20 @@ + + + + +@deftypefun {int} {gnutls_pkcs11_token_get_url} (unsigned int @var{seq}, gnutls_pkcs11_url_type_t @var{detailed}, char ** @var{url}) +@var{seq}: sequence number starting from 0 + +@var{detailed}: non zero if a detailed URL is required + +@var{url}: will contain an allocated url + +This function will return the URL for each token available +in system. The url has to be released using @code{gnutls_free()} + +@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, +@code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE} if the sequence number +exceeds the available tokens, otherwise a negative error value. + +@strong{Since:} 2.12.0 +@end deftypefun |