ostream-unix.h revision ea623e25e8d03cb1c28677f418d3dcd5729d09e1
bf01e8179cbb2be476805340636098deda7e1366Sumit Bosestruct ostream *o_stream_create_unix(int fd, size_t max_buffer_size);
bf01e8179cbb2be476805340636098deda7e1366Sumit Bose/* Write fd to UNIX socket along with the next outgoing data block.
bf01e8179cbb2be476805340636098deda7e1366Sumit Bose Returns TRUE if fd is accepted, and FALSE if a previous fd still
bf01e8179cbb2be476805340636098deda7e1366Sumit Bose needs to be sent. */
bf01e8179cbb2be476805340636098deda7e1366Sumit Bosebool o_stream_unix_write_fd(struct ostream *output, int fd);