/* Returns a newly built URI or NULL in case of error  */
URI* uri_parse_raw(const char *str, int raw)
/* Returns a newly built URI or NULL in case of error  */
URI* uri_parse_raw(const char *str, int raw)
{
        if (raw) {
	    uri->cleanup |= 2;
	}
	ret = uri_parse_into(uri, str);
        if (ret) {
	    uri_free(uri);
	    return(NULL);
	}
    }
    return(uri);
}