Top |
Functions
EUri * | e_uri_new () |
void | e_uri_free () |
const gchar * | e_uri_get_param () |
EUri * | e_uri_copy () |
gchar * | e_uri_to_string () |
gchar * | e_url_shroud () |
gboolean | e_url_equal () |
Functions
e_uri_new ()
EUri *
e_uri_new (const gchar *uri_string
);
e_uri_new
is deprecated and should not be used in newly-written code.
Creates an EUri representation of the uri given in uri_string
.
e_uri_free ()
void
e_uri_free (EUri *uri
);
e_uri_free
is deprecated and should not be used in newly-written code.
Frees the memory of an EUri structure.
e_uri_get_param ()
const gchar * e_uri_get_param (EUri *uri
,const gchar *name
);
e_uri_get_param
is deprecated and should not be used in newly-written code.
Retrieves the value of the parameter associated with name
in uri
.
e_uri_copy ()
EUri *
e_uri_copy (EUri *uri
);
e_uri_copy
is deprecated and should not be used in newly-written code.
Makes a copy of uri
.
e_uri_to_string ()
gchar * e_uri_to_string (EUri *uri
,gboolean show_password
);
e_uri_to_string
is deprecated and should not be used in newly-written code.
Creates a string representation of uri
. The password will only be
included in the string if show_password
is set to TRUE
.
Parameters
uri |
The EUri to convert to a string. |
|
show_password |
Whether or not to show the password in the string. |
e_url_shroud ()
gchar *
e_url_shroud (const gchar *url
);
e_url_shroud
is deprecated and should not be used in newly-written code.
Removes the moniker (i.e. mailto:) from a url.
Types and Values
struct EUri
struct EUri { gchar *protocol; gchar *user; gchar *authmech; gchar *passwd; gchar *host; gint port; gchar *path; GData *params; gchar *query; gchar *fragment; };
EUri
is deprecated and should not be used in newly-written code.
A structure representing a URI.
Members
gchar * |
The protocol to use. |
|
gchar * |
A user name. |
|
gchar * |
The authentication mechanism. |
|
gchar * |
The connection password. |
|
gchar * |
The host name. |
|
gint |
The port number. |
|
gchar * |
The file path on the host. |
|
GData * |
Additional parameters. |
|
gchar * |
The URI query. |
|
gchar * |
The URI fragment. |