Searched refs:hostsfile (Results 1 - 4 of 4) sorted by relevance

/external/dropbear/
H A Dcli-kex.c151 FILE * hostsfile = NULL; local
182 hostsfile = fopen(filename, "a+");
184 if (hostsfile != NULL) {
186 fseek(hostsfile, 0, SEEK_SET);
192 hostsfile = fopen(filename, "r");
197 if (hostsfile == NULL) {
198 TRACE(("hostsfile didn't open: %s", strerror(errno)))
206 return hostsfile;
211 FILE *hostsfile = NULL; local
220 hostsfile
319 fwrite(buf_getptr(line, line->len), line->len, 1, hostsfile); local
[all...]
/external/dnsmasq/src/
H A Dcache.c872 struct hostsfile *ah;
941 struct hostsfile *ah1;
971 if (!(ah1 = whine_malloc(sizeof(struct hostsfile))))
1215 struct hostsfile *ah;
H A Ddnsmasq.h373 struct hostsfile { struct
374 struct hostsfile *next;
627 struct hostsfile *addn_hosts;
H A Doption.c195 { "dhcp-hostsfile", 1, 0, LOPT_DHCP_HOST },
1135 problem = _("only one dhcp-hostsfile allowed");
1227 struct hostsfile *new = opt_malloc(sizeof(struct hostsfile));

Completed in 159 milliseconds