arg_trimdomain_list (const char * fname, int line_num, const char * args, unsigned flag)
arg_trimdomain_list (const char *fname, int line_num, const char *args, unsigned int flag)
arg_trimdomain_list (const char * fname, int line_num, const char * args,		     unsigned flag){  const char * start;  size_t len;  do    {      start = args;      args = skip_string (args);      len = args - start;      if (_res_hconf.num_trimdomains >= TRIMDOMAINS_MAX)	{	  fprintf (stderr,		   "%s: line %d: cannot specify more than %d trim domains",		   fname, line_num, TRIMDOMAINS_MAX);	  return 0;	}      _res_hconf.trimdomain[_res_hconf.num_trimdomains++] =	  strndup (start, len);      args = skip_ws (args);      switch (*args)	{	case ',': case ';': case ':':	  args = skip_ws (++args);	  if (!*args || *args == '#')	    {	      fprintf (stderr,		       "%s: line %d: list delimiter not followed by domain",		       fname, line_num);	      return 0;	    }	default:	  break;	}    }  while (*args && *args != '#');  return args;}