Lines Matching defs:current
62 struct record current[MAX_RECORDS];
281 add_name(state, &state->current[0], state->zone_name,
283 add_name(state, &state->current[0], state->zone_name,
285 add_name(state, &state->current[0], state->zone_name,
507 /* Answer from current records */
509 if (strcasecmp(state->current[i].name, full_name) == 0) {
511 result = state->putrr(lookup, state->current[i].type,
512 state->current[i].ttl,
513 state->current[i].data);
552 if (strlen(state->current[i].name) == 0U) {
555 result = state->putnamedrr(allnodes, state->current[i].name,
556 state->current[i].type,
557 state->current[i].ttl,
558 state->current[i].data);
616 (void)del_name(state, &state->current[0],
625 (void)add_name(state, &state->current[0],