The util_uri_check function checks whether a URI has a format conforming to the standard.
At present, the only URI checked for is a URL. The standard format for a URL is
protocol://user:password@host:port/url-path
where user:password, :password. :port, or /url-path can be omitted.
#include <libproxy/util.h> int util_uri_check (char *uri);
0 if the URI does not have the proper form.
nonzero if the URI has the proper form.
char *uri is the URI to be tested.