diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-31 16:47:34 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-31 16:47:36 +0200 |
commit | 9b272c0399c8c3d954fa3bf19d34c03452d91e8d (patch) | |
tree | 57e9327cc2cda59598edb21367a45bfaf36f365e /lib/urls.c | |
parent | 6a1db31ad465d4b4e83da25792d0ffb41c160724 (diff) | |
download | gnutls-9b272c0399c8c3d954fa3bf19d34c03452d91e8d.tar.gz |
gnutls_url_is_supported: type changed to unsigned
In addition function documentation was updated.
Diffstat (limited to 'lib/urls.c')
-rw-r--r-- | lib/urls.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/urls.c b/lib/urls.c index 32aac21eaf..2861c31d28 100644 --- a/lib/urls.c +++ b/lib/urls.c @@ -31,17 +31,17 @@ unsigned _gnutls_custom_urls_size = 0; /** * gnutls_url_is_supported: - * @url: A PKCS 11 url + * @url: A URI to be tested * - * Check whether url is supported. Depending on the system libraries - * GnuTLS may support pkcs11 or tpmkey URLs. + * Check whether the provided @url is supported. Depending on the system libraries + * GnuTLS may support pkcs11, tpmkey or other URLs. * * Returns: return non-zero if the given URL is supported, and zero if * it is not known. * * Since: 3.1.0 **/ -int gnutls_url_is_supported(const char *url) +unsigned gnutls_url_is_supported(const char *url) { unsigned i; |