view src/lib/ostream-unix.h @ 22636:96e51a11c0aa

lib: Implement t_strsplit_tabescaped_inplace() This is a more efficient version of t_strsplit_tabescaped(), which modifies the input string instead of duplicating it.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sat, 04 Nov 2017 01:39:38 +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