Home
last modified time | relevance | path

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

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dvstream.h36 typedef ssize_t (*VSTREAM_RW_FN) (int, void *, size_t, int, void *); typedef
48 VSTREAM_RW_FN read_fn; /* buffer fill action */
49 VSTREAM_RW_FN write_fn; /* buffer flush action */
167 #define CA_VSTREAM_CTL_READ_FN(v) VSTREAM_CTL_READ_FN, CHECK_VAL(VSTREAM_CTL, VSTREAM_RW_FN, (v))
168 #define CA_VSTREAM_CTL_WRITE_FN(v) VSTREAM_CTL_WRITE_FN, CHECK_VAL(VSTREAM_CTL, VSTREAM_RW_FN, (v))
189 CHECK_VAL_HELPER_DCL(VSTREAM_CTL, VSTREAM_RW_FN);
H A Dvstream.c568 }, STDIN_FILENO, (VSTREAM_RW_FN) timed_read, (VSTREAM_RW_FN) timed_write,
574 }, STDOUT_FILENO, (VSTREAM_RW_FN) timed_read, (VSTREAM_RW_FN) timed_write,
580 }, STDERR_FILENO, (VSTREAM_RW_FN) timed_read, (VSTREAM_RW_FN) timed_write,
1378 stream->read_fn = VSTREAM_CAN_READ(flags) ? (VSTREAM_RW_FN) timed_read : 0; in vstream_fdopen()
1379 stream->write_fn = VSTREAM_CAN_WRITE(flags) ? (VSTREAM_RW_FN) timed_write : 0; in vstream_fdopen()
1597 stream->read_fn = va_arg(ap, VSTREAM_RW_FN); in vstream_control()
1600 stream->write_fn = va_arg(ap, VSTREAM_RW_FN); in vstream_control()