Home
last modified time | relevance | path

Searched refs:datafp (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/usr.sbin/smtpd/
Dmda.c73 FILE *datafp; member
214 if ((s->datafp = fdopen(fd, "r")) == NULL) { in mda_imsg()
225 if (mda_check_loop(s->datafp, e)) { in mda_imsg()
331 if (s->datafp || (s->io && io_queued(s->io))) { in mda_imsg()
405 if (s->datafp == NULL) { in mda_io()
415 if ((len = getline(&ln, &sz, s->datafp)) == -1) in mda_io()
431 if (ferror(s->datafp)) { in mda_io()
442 if (feof(s->datafp)) { in mda_io()
446 fclose(s->datafp); in mda_io()
447 s->datafp = NULL; in mda_io()
[all …]
Dmta_session.c117 FILE *datafp; member
317 s->datafp = fdopen(fd, "r"); in mta_session_imsg()
318 if (s->datafp == NULL) in mta_session_imsg()
391 if (s->datafp) { in mta_free()
392 fclose(s->datafp); in mta_free()
823 fseek(s->datafp, 0, SEEK_SET); in mta_enter_state()
828 if (s->datafp == NULL) { in mta_enter_state()
856 if (s->datafp) { in mta_enter_state()
857 fclose(s->datafp); in mta_enter_state()
858 s->datafp = NULL; in mta_enter_state()
[all …]