Lines Matching refs:fprintf

108 	fprintf(fp, "\n# %s %s.%d\n", progname, VERSION, PATCHLEVEL);
109 fprintf(fp, "# %s: dump of bootp server database.\n", filename);
110 fprintf(fp, "# Dump taken %s", ctime(&t));
117 fprintf(fp, "\n");
140 fprintf(fp, "%s:", (hp->hostname ?
143 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string);
146 fprintf(fp, "\\\n\t:bs=");
148 fprintf(fp, "auto:");
150 fprintf(fp, "%lu:", (u_long)hp->bootsize);
154 fprintf(fp, "\\\n\t:cs=");
156 fprintf(fp, ":");
159 fprintf(fp, "\\\n\t:df=%s:", hp->dump_file->string);
162 fprintf(fp, "\\\n\t:dn=%s:", hp->domain_name->string);
165 fprintf(fp, "\\\n\t:ds=");
167 fprintf(fp, ":");
170 fprintf(fp, "\\\n\t:ef=%s:", hp->exten_file->string);
173 fprintf(fp, "\\\n\t:ex=%s:", hp->exec_file->string);
176 fprintf(fp, "\\\n\t:gw=");
178 fprintf(fp, ":");
182 fprintf(fp, "\\\n\t:hd=%s:", hp->homedir->string);
188 fprintf(fp, "\\\n\t:hn:");
192 fprintf(fp, "\\\n\t:ht=%u:", (unsigned) hp->htype);
194 fprintf(fp, "ha=\"%s\":",
199 fprintf(fp, "\\\n\t:im=");
201 fprintf(fp, ":");
205 fprintf(fp, "\\\n\t:ip=%s:", inet_ntoa(hp->iaddr));
208 fprintf(fp, "\\\n\t:lg=");
210 fprintf(fp, ":");
213 fprintf(fp, "\\\n\t:lp=");
215 fprintf(fp, ":");
218 fprintf(fp, "\\\n\t:ms=%lu:", (u_long)hp->msg_size);
221 fprintf(fp, "\\\n\t:mw=%lu:", (u_long)hp->min_wait);
224 fprintf(fp, "\\\n\t:ns=");
226 fprintf(fp, ":");
229 fprintf(fp, "\\\n\t:nt=");
231 fprintf(fp, ":");
234 fprintf(fp, "\\\n\t:ra=%s:", inet_ntoa(hp->reply_addr));
237 fprintf(fp, "\\\n\t:rl=");
239 fprintf(fp, ":");
242 fprintf(fp, "\\\n\t:rp=%s:", hp->root_path->string);
245 fprintf(fp, "\\\n\t:sa=%s:", inet_ntoa(hp->bootserver));
248 fprintf(fp, "\\\n\t:sm=%s:", inet_ntoa(hp->subnet_mask));
251 fprintf(fp, "\\\n\t:sw=%s:", inet_ntoa(hp->subnet_mask));
254 fprintf(fp, "\\\n\t:td=%s:", hp->tftpdir->string);
260 fprintf(fp, "\\\n\t:to=%ld:", (long)hp->time_offset);
263 fprintf(fp, "\\\n\t:ts=");
265 fprintf(fp, ":");
268 fprintf(fp, "\\\n\t:vm=");
270 fprintf(fp, "rfc1048:");
272 fprintf(fp, "cmu:");
274 fprintf(fp, "%d.%d.%d.%d:",
282 fprintf(fp, "\\\n\t:yd=%s:",
286 fprintf(fp, "\\\n\t:ys=");
288 fprintf(fp, ":");
321 fprintf(fp, " #junk in generic! :");
324 fprintf(fp, "\\\n\t:T%d=", tag);
326 fprintf(fp, "%02X", *bp);
330 fprintf(fp, ".");
332 fprintf(fp, ":");
361 fprintf(fp, "%s", inet_ntoa(*addrptr++));
364 fprintf(fp, ", ");