Lines Matching refs:scheme
71 char *scheme; member
91 free(u->scheme); in free_urlhandle()
462 if(u->scheme) in parse_hostname_login()
463 h = Curl_get_scheme_handler(u->scheme); in parse_hostname_login()
851 CURLU_DISALLOW_USER, &host, !!u->scheme); in Curl_url_set_authority()
1030 u->scheme = strdup("file"); in parseurl()
1031 if(!u->scheme) { in parseurl()
1177 u->scheme = strdup(schemep); in parseurl()
1178 if(!u->scheme) { in parseurl()
1214 u->scheme = strdup(schemep); in parseurl()
1215 if(!u->scheme) { in parseurl()
1391 DUP(u, in, scheme); in curl_url_dup()
1431 ptr = u->scheme; in curl_url_get()
1463 if(!ptr && (flags & CURLU_DEFAULT_PORT) && u->scheme) { in curl_url_get()
1466 const struct Curl_handler *h = Curl_get_scheme_handler(u->scheme); in curl_url_get()
1472 else if(ptr && u->scheme) { in curl_url_get()
1475 const struct Curl_handler *h = Curl_get_scheme_handler(u->scheme); in curl_url_get()
1503 char *scheme; in curl_url_get() local
1514 if(u->scheme && strcasecompare("file", u->scheme)) { in curl_url_get()
1525 if(u->scheme) in curl_url_get()
1526 scheme = u->scheme; in curl_url_get()
1528 scheme = (char *) DEFAULT_SCHEME; in curl_url_get()
1532 h = Curl_get_scheme_handler(scheme); in curl_url_get()
1596 msnprintf(schemebuf, sizeof(schemebuf), "%s://", scheme); in curl_url_get()
1722 storep = &u->scheme; in curl_url_set()
1783 storep = &u->scheme; in curl_url_set()