| Top |
| gboolean | uc_url_is_faked () |
| gchar * | uc_url_extract_url_from_local_path () |
| void | uc_url_correction () |
| gchar * | uc_url_normalize () |
| gchar * | uc_url_get_hostname () |
| gchar * | uc_url_get_port () |
| gchar * | uc_url_add_protocol () |
| gchar * | uc_url_add_slash () |
| gboolean | uc_url_is_valid () |
| gchar * | uc_url_get_protocol () |
| gboolean | uc_url_parse () |
| gchar * | uc_url_get_ip () |
gboolean uc_url_is_faked (UCLinkProperties *prop,UCHTMLTag *tag);
Check if the link is in fact a redirection or if it has another location.
gchar *
uc_url_extract_url_from_local_path (const gchar *path);
A little tricky: extract a URL from a path. The URL must be at the end of the given path.
gchar * uc_url_normalize (const gchar *current_host,const gchar *current_path,gchar *url);
Build a full URI from the given parameters.
gchar * uc_url_get_hostname (const gchar *current_host,const gchar *url);
Get the hostname of a given url. If the url doesn't have host name, then current_host is send.
gchar * uc_url_add_protocol (const gchar *proto,const gchar *host);
Add the given protocol to the given url.
gchar *
uc_url_add_slash (const gchar *url);
Check if the given url url
end by a slash. if not, add it.
gboolean
uc_url_is_valid (const gchar *url);
Quikly (loosly) check the validity of a given url.
gchar *
uc_url_get_protocol (const gchar *url);
Get the protocol of a given url.
The protocole of the given URI. If not, a return a default protocol: UC_PROTOCOL_HTTP or UC_PROTOCOL_HTTPS. A new allocated string.
gboolean uc_url_parse (const gchar *current_host,const gchar *current_path,gchar *rurl,gchar **host,gchar **port,gchar **path,gchar **args);
Parse a given url.