Home | History | Annotate | Download | only in c-ares

Lines Matching full:lookups

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