Data Structures | |
struct | Efreet_Uri |
Efreet_Uri. More... | |
Typedefs | |
typedef struct Efreet_Uri | Efreet_Uri |
Efreet_Uri. | |
Functions | |
const char * | efreet_uri_encode (Efreet_Uri *uri) |
Get the string rapresentation of the given uri struct escaping illegal caracters. Remember to free the string with eina_stringshare_del() when you don't need it anymore. | |
Efreet_Uri * | efreet_uri_decode (const char *val) |
Read a single uri and return an Efreet_Uri struct. If there's no hostname in the uri then the hostname parameter will be NULL. All the uri escaped chars will be converted to normal. | |
void | efreet_uri_free (Efreet_Uri *uri) |
Free the given uri structure. | |
const char * efreet_uri_encode | ( | Efreet_Uri * | uri | ) |
Get the string rapresentation of the given uri struct escaping illegal caracters. Remember to free the string with eina_stringshare_del() when you don't need it anymore.
uri | Create an URI string from an Efreet_Uri struct |
References EINA_SAFETY_ON_NULL_RETURN_VAL, eina_stringshare_add(), path, and protocol.
Referenced by efreet_trash_delete_uri().
Efreet_Uri * efreet_uri_decode | ( | const char * | val | ) |
Read a single uri and return an Efreet_Uri struct. If there's no hostname in the uri then the hostname parameter will be NULL. All the uri escaped chars will be converted to normal.
val | a valid uri string to parse |
References EINA_SAFETY_ON_NULL_RETURN_VAL, eina_stringshare_add(), evil_utf16_to_utf8(), evil_utf8_to_utf16(), hostname, path, and protocol.
void efreet_uri_free | ( | Efreet_Uri * | uri | ) |