Lines Matching full:part
11 * you should have received as part of this distribution. The terms
42 struct part {
43 CURLUPart part;
56 struct part parts[] = {
73 rc = curl_url_get(u, parts[i].part, &p, getflags);
147 CURLUPart part;
857 part */
1012 static CURLUPart part2id(char *part)
1014 if(!strcmp("url", part))
1016 if(!strcmp("scheme", part))
1018 if(!strcmp("user", part))
1020 if(!strcmp("password", part))
1022 if(!strcmp("options", part))
1024 if(!strcmp("host", part))
1026 if(!strcmp("port", part))
1028 if(!strcmp("path", part))
1030 if(!strcmp("query", part))
1032 if(!strcmp("fragment", part))
1034 if(!strcmp("zoneid", part))
1050 char part[80];
1053 memset(part, 0, sizeof(part)); /* Avoid valgrind false positive. */
1057 if(2 == sscanf(buf, "%79[^=]=%79[^,]", part, value)) {
1058 CURLUPart what = part2id(part);
1061 fprintf(stderr, "%s = \"%s\" [%d]\n", part, value, (int)what);
1064 fprintf(stderr, "UNKNOWN part '%s'\n", part);
1609 rc = curl_url_set(u, clear_url_list[i].part, clear_url_list[i].in, 0);
1617 rc = curl_url_get(u, clear_url_list[i].part, &p, 0);
1638 * verify ridiculous URL part sizes
1646 CURLUPart part[]= {
1682 curl_url_get(urlp, part[i], &partp, 0);
1684 printf("URL %u part %u: failure\n", i, part[i]);