Home
last modified time | relevance | path

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

/dports/mail/postfix-current/postfix-3.7-20211107/src/util/
H A Dvstream.h34 typedef ssize_t (*VSTREAM_RW_FN) (int, void *, size_t, int, void *); typedef
46 VSTREAM_RW_FN read_fn; /* buffer fill action */
47 VSTREAM_RW_FN write_fn; /* buffer flush action */
165 #define CA_VSTREAM_CTL_READ_FN(v) VSTREAM_CTL_READ_FN, CHECK_VAL(VSTREAM_CTL, VSTREAM_RW_FN, (v))
166 #define CA_VSTREAM_CTL_WRITE_FN(v) VSTREAM_CTL_WRITE_FN, CHECK_VAL(VSTREAM_CTL, VSTREAM_RW_FN, (v))
187 CHECK_VAL_HELPER_DCL(VSTREAM_CTL, VSTREAM_RW_FN);
H A Dvstream.c566 }, STDIN_FILENO, (VSTREAM_RW_FN) timed_read, (VSTREAM_RW_FN) timed_write,
572 }, STDOUT_FILENO, (VSTREAM_RW_FN) timed_read, (VSTREAM_RW_FN) timed_write,
578 }, STDERR_FILENO, (VSTREAM_RW_FN) timed_read, (VSTREAM_RW_FN) timed_write,
1376 stream->read_fn = VSTREAM_CAN_READ(flags) ? (VSTREAM_RW_FN) timed_read : 0; in vstream_fdopen()
1377 stream->write_fn = VSTREAM_CAN_WRITE(flags) ? (VSTREAM_RW_FN) timed_write : 0; in vstream_fdopen()
1595 stream->read_fn = va_arg(ap, VSTREAM_RW_FN); in vstream_control()
1598 stream->write_fn = va_arg(ap, VSTREAM_RW_FN); in vstream_control()