ldns_get_rr_list_hosts_frm_fp_l (3) Linux Manual Page
NAME ldns_get_rr_list_hosts_frm_fp_l SYNOPSIS #include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_rr_list* ldns_get_rr_list_hosts_frm_fp_l(FILE *fp, int *line_nr); DESCRIPTION ldns_get_rr_list_hosts_frm_fp_l() wade through fp (a /etc/hosts like file) and return a rr_list containing all the defined hosts in there .br fp: the file pointer to use .br line_nr: pointer to an integer containing the current line number (for debugging purposes)…
