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