server-connection.h revision 8ad7aa4ddf9e37fc1aefdf84f90071f49fc2619c
#ifndef SERVER_CONNECTION_H
#define SERVER_CONNECTION_H
#define SERVER_EXIT_CODE_DISCONNECTED 1000
struct doveadm_server;
struct server_connection;
struct ssl_iostream;
struct server_connection **conn_r);
/* Return the server given to create() */
struct doveadm_server *
/* Returns TRUE if no command is being processed */
/* Extract iostreams from connection. Afterwards the server_connection simply
waits for itself to be destroyed. */
struct ssl_iostream **ssl_iostream_r);
#endif