view src/anvil/anvil-connection.h @ 22576:707ae9de3812

lib: istream-multiplex - Minor code cleanup Avoid propagating the error twice, and avoid any confusion about what "got" actually contains.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 05 Oct 2017 20:24:11 +0300
parents c90ba3f3fa51
children
line wrap: on
line source

#ifndef ANVIL_CONNECTION_H
#define ANVIL_CONNECTION_H

struct anvil_connection *
anvil_connection_create(int fd, bool master, bool fifo);
void anvil_connection_destroy(struct anvil_connection *conn);

void anvil_connections_destroy_all(void);

#endif