Top | ![]() |
![]() |
![]() |
![]() |
Functions
gboolean | go_url_check_extension () |
gchar * | go_url_encode () |
char * | go_url_make_relative () |
char * | go_url_resolve_relative () |
char * | go_url_simplify () |
Functions
go_url_check_extension ()
gboolean go_url_check_extension (gchar const *uri
,gchar const *std_ext
,gchar **new_uri
);
Modifies given uri
by adding the extension std_ext
if needed.
If no std_ext
is given or uri
already has some extension,
it just copies uri
.
Value in new_uri: newly allocated string which you should free after use, containing (optionally) modified uri.
go_url_encode ()
gchar * go_url_encode (gchar const *uri
,int type
);
url-encode a string according to RFC 2368.
go_url_resolve_relative ()
char * go_url_resolve_relative (const char *ref_uri
,const char *rel_uri
);