• Home
  • Raw
  • Download

Lines Matching refs:lookups

106 #define ARES_CONFIG_CHECK(x) (x->lookups && x->nsort > -1 && \
166 channel->lookups = NULL; in ares_init_options()
249 if(channel->lookups) in ares_init_options()
250 free(channel->lookups); in ares_init_options()
395 if (channel->lookups) { in ares_save_options()
396 options->lookups = strdup(channel->lookups); in ares_save_options()
397 if (!options->lookups && channel->lookups) in ares_save_options()
493 if ((optmask & ARES_OPT_LOOKUPS) && !channel->lookups) in init_by_options()
495 channel->lookups = strdup(options->lookups); in init_by_options()
496 if (!channel->lookups) in init_by_options()
987 else if ((p = try_config(line, "lookup", ';')) && !channel->lookups) in init_by_resolv_conf()
1021 if ((status == ARES_EOF) && (!channel->lookups)) { in init_by_resolv_conf()
1027 if ((p = try_config(line, "hosts:", '\0')) && !channel->lookups) in init_by_resolv_conf()
1049 if ((status == ARES_EOF) && (!channel->lookups)) { in init_by_resolv_conf()
1055 if ((p = try_config(line, "order", '\0')) && !channel->lookups) in init_by_resolv_conf()
1077 if ((status == ARES_EOF) && (!channel->lookups)) { in init_by_resolv_conf()
1083 if ((p = try_config(line, "hosts=", '\0')) && !channel->lookups) in init_by_resolv_conf()
1244 if (!channel->lookups) { in init_by_defaults()
1245 channel->lookups = strdup("fb"); in init_by_defaults()
1246 if (!channel->lookups) in init_by_defaults()
1259 if(channel->lookups) in init_by_defaults()
1260 free(channel->lookups); in init_by_defaults()
1293 char lookups[3], *l; in config_lookup() local
1300 l = lookups; in config_lookup()
1304 if ((*p == *bindch || *p == *filech) && l < lookups + 2) { in config_lookup()
1314 channel->lookups = strdup(lookups); in config_lookup()
1315 return (channel->lookups) ? ARES_SUCCESS : ARES_ENOMEM; in config_lookup()