Home
last modified time | relevance | path

Searched refs:e_dfp (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/sendmail/src/
H A Dmime.c327 while ((blen = sm_io_fgets(e->e_dfp, SM_TIME_DEFAULT, buf,
339 if (sm_io_eof(e->e_dfp))
350 collect(e->e_dfp, SMTPMODE_NO, &hdr, e, false);
371 while ((blen = sm_io_fgets(e->e_dfp, SM_TIME_DEFAULT, buf,
383 if (sm_io_eof(e->e_dfp))
412 collect(e->e_dfp, SMTPMODE_NO, &hdr, e, false);
442 offset = sm_io_tell(e->e_dfp, SM_TIME_DEFAULT);
448 while ((blen = sm_io_fgets(e->e_dfp, SM_TIME_DEFAULT, buf,
474 if (sm_io_seek(e->e_dfp, SM_TIME_DEFAULT, offset, SEEK_SET) < 0)
478 sm_io_clearerr(e->e_dfp);
[all …]
H A Dmilter.c180 SM_CLOSE_FP(e->e_dfp); \
1712 if (bitset(EF_HAS_DF, e->e_flags) && e->e_dfp != NULL)
1714 SM_CLOSE_FP(e->e_dfp);
1719 if ((e->e_dfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, dfname,
1726 else if (e->e_dfp == NULL)
1755 if (sm_io_flush(e->e_dfp, SM_TIME_DEFAULT) != 0 ||
1756 sm_io_error(e->e_dfp))
1766 else if ((afd = sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD, NULL)) >= 0
1772 else if (sm_io_close(e->e_dfp, SM_TIME_DEFAULT) < 0)
1777 else if ((e->e_dfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, dfname,
[all …]
H A Ddeliver.c514 ee->e_dfp = NULL;
762 SM_CLOSE_FP(e->e_dfp);
974 SM_CLOSE_FP(ee->e_dfp);
1108 ee->e_dfp = NULL;
1119 if (type == DATAFL_LETTER && e->e_dfp != NULL &&
1120 sm_io_setinfo(e->e_dfp, SM_BF_COMMIT, NULL) < 0 &&
5805 if (e->e_dfp == NULL && bitset(EF_HAS_DF, e->e_flags))
5809 e->e_dfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, df,
5811 if (e->e_dfp == NULL)
5821 if (e->e_dfp == NULL)
[all …]
H A Denvelope.c557 SM_CLOSE_FP(e->e_dfp);
621 SM_CLOSE_FP(ee->e_dfp);
636 SM_CLOSE_FP(e->e_dfp);
682 SM_CLOSE_FP(e->e_dfp);
H A Dcollect.c1058 if ((e->e_dfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, dfname,
1068 e->e_dfp = df;
H A Dqueue.c520 if (e->e_dfp != NULL &&
523 sm_io_setinfo(e->e_dfp, SM_BF_COMMIT, NULL) < 0 &&
529 if (e->e_dfp != NULL &&
536 if (fsync(sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD,
555 if (e->e_dfp != NULL &&
556 sm_io_getinfo(e->e_dfp, SM_IO_WHAT_ISTYPE, BF_FILE_TYPE))
4667 e->e_dfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, p, SM_IO_RDONLY_B,
4669 if (e->e_dfp == NULL)
4676 if (fstat(sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD, NULL), &st)
5778 SM_CLOSE_FP(e->e_dfp);
[all …]
H A Dsrvrsmtp.c4286 df = e->e_dfp;
4336 e->e_dfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, dfname,
4338 if (e->e_dfp == NULL)
4630 SM_CLOSE_FP(ee->e_dfp);
4651 SM_CLOSE_FP(ee->e_dfp);
H A Dusersmtp.c2909 if (e->e_dfp != NULL)
2910 (void) bfrewind(e->e_dfp);
H A Dsavemail.c362 if (p == NULL || e->e_dfp == NULL)
H A Dsendmail.h1128 SM_FILE_T *e_dfp; /* data file */ member