view src/director/doveadm-connection.h @ 22536:5f09f6aa089b

director: doveadm HOST-* commands now wait for ring sync before returning OK This should make it easier for tests and maybe for scripts in general, so they won't think the command failed when it just takes a while to finish.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 14 Aug 2017 10:29:47 +0300
parents 39d96d2dad95
children 34765a426c56
line wrap: on
line source

#ifndef DOVEADM_CONNECTION_H
#define DOVEADM_CONNECTION_H

struct director;

struct doveadm_connection *
doveadm_connection_init(struct director *dir, int fd);
void doveadm_connections_deinit(void);

void doveadm_connections_ring_synced(void);

#endif