Lines Matching defs:bindname
175 char *bindname;
199 if ((bindname = malloc((cp - name) + strlen(type) + strlen(RHS) +
208 memcpy(bindname, name, cp - name);
209 bindname[cp - name] = '\0';
210 strcat(bindname, ".");
211 strcat(bindname, type);
214 strcat(bindname, ".");
215 strcat(bindname, ctx->LHS);
218 strcat(bindname, ".");
219 strcat(bindname, RHS);
224 return (bindname);
234 char *bindname = hesiod_to_bind(context, name, type);
237 if (bindname == NULL)
240 free(bindname);
244 if ((retvec = get_txt_records(ctx, C_IN, bindname))) {
245 free(bindname);
252 retvec = get_txt_records(ctx, C_HS, bindname);
253 free(bindname);