The util_url_has_FQDN function returns a value to indicate whether a specified URL references a fully qualified domain name.
#include <libproxy/util.h> int util_url_has_FQDN(char *url);
1 if the URL has a fully qualified domain name.
0 if the URL does not have a fully qualified domain name.
char *url is the URL to be examined.