} else if (!strncmp(cp, "ip6-bytestring", sizeof("ip6-bytestring") - 1)) { statp->options |= RES_USEBSTRING;
res_setoptions(res_state statp, const char *options, const char *source) {	const char *cp = options;	int i;#ifdef DEBUG	if (statp->options & RES_DEBUG)		printf(";; res_setoptions(\"%s\", \"%s\")...\n",		       options, source);#endif	while (*cp) {		/* skip leading and inner runs of spaces */		while (*cp == ' ' || *cp == '\t')			cp++;		/* search for and process individual options */		if (!strncmp(cp, "ndots:", sizeof("ndots:") - 1)) {			i = atoi(cp + sizeof("ndots:") - 1);			if (i <= RES_MAXNDOTS)				statp->ndots = i;			else				statp->ndots = RES_MAXNDOTS;#ifdef DEBUG			if (statp->options & RES_DEBUG)				printf(";;\tndots=%d\n", statp->ndots);#endif		} else if (!strncmp(cp, "timeout:", sizeof("timeout:") - 1)) {			i = atoi(cp + sizeof("timeout:") - 1);			if (i <= RES_MAXRETRANS)				statp->retrans = i;			else				statp->retrans = RES_MAXRETRANS;		} else if (!strncmp(cp, "attempts:", sizeof("attempts:") - 1)){			i = atoi(cp + sizeof("attempts:") - 1);			if (i <= RES_MAXRETRY)				statp->retry = i;			else				statp->retry = RES_MAXRETRY;		} else if (!strncmp(cp, "debug", sizeof("debug") - 1)) {#ifdef DEBUG			if (!(statp->options & RES_DEBUG)) {				printf(";; res_setoptions(\"%s\", \"%s\")..\n",				       options, source);				statp->options |= RES_DEBUG;			}			printf(";;\tdebug\n");#endif		} else if (!strncmp(cp, "inet6", sizeof("inet6") - 1)) {			statp->options |= RES_USE_INET6;		} else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) {			statp->options |= RES_ROTATE;		} else if (!strncmp(cp, "no-check-names",				    sizeof("no-check-names") - 1)) {			statp->options |= RES_NOCHECKNAME;		} else {			/* XXX - print a warning here? */		}		/* skip to next run of spaces */		while (*cp && *cp != ' ' && *cp != '\t')			cp++;	}}