view src/lib/ostream-unix.h @ 22664:fea53c2725c0

director: Fix director_max_parallel_moves/kicks type Should be uint, not time.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 09 Nov 2017 12:24:16 +0200
parents dbb9b7c9ca9f
children
line wrap: on
line source

#ifndef OSTREAM_UNIX_H
#define OSTREAM_UNIX_H

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

#endif