4
struct istream *i_stream_create_unix(int fd, size_t max_buffer_size);
5
/* Start trying to read a file descriptor from the UNIX socket. */
6
void i_stream_unix_set_read_fd(struct istream *input);
7
/* Stop trying to read a file descriptor from the UNIX socket. */
8
void i_stream_unix_unset_read_fd(struct istream *input);
9
/* Returns the fd that the last i_stream_read() received, or -1 if no fd
10
was received. This function must be called before
11
i_stream_unix_set_read_fd() is called again after successfully receiving
13
int i_stream_unix_get_read_fd(struct istream *input);