Home | History | Annotate | Download | only in whois

Lines Matching defs:qhead

304 	const char *qhead;
314 qhead = country;
315 else if ((qhead = strrchr(name, '.')) == NULL) {
329 } else if (isdigit((unsigned char)*(++qhead)))
336 if (asprintf(&server, "whois.nic.%s", qhead) == -1)
340 if ((strlen(qhead) == 2 ||
342 strcasecmp(qhead, "org") == 0 ||
343 strcasecmp(qhead, "com") == 0 ||
344 strcasecmp(qhead, "net") == 0 ||
345 strcasecmp(qhead, "cat") == 0 ||
346 strcasecmp(qhead, "pro") == 0 ||
347 strcasecmp(qhead, "info") == 0 ||
348 strcasecmp(qhead, "aero") == 0 ||
349 strcasecmp(qhead, "jobs") == 0 ||
350 strcasecmp(qhead, "mobi") == 0 ||
351 strcasecmp(qhead, "museum") == 0 ||
355 if (asprintf(&server, "%s%s", qhead, QNICHOST_TAIL) == -1)