/* Other helper functions */
int gnutls_load_file(const char *filename, gnutls_datum_t * data);
-int gnutls_url_is_supported(const char *url);
+unsigned gnutls_url_is_supported(const char *url);
/* PIN callback */
/**
* 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;