view src/director/notify-connection.h @ 22656:1789bf2a1e01

director: Make sure HOST-RESET-USERS isn't used with max_moving_users=0 The reset command would just hang in that case. doveadm would never have sent this, so this is just an extra sanity check.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sun, 05 Nov 2017 23:51:56 +0200
parents 2a5336ad86cd
children 98408dc06937
line wrap: on
line source

#ifndef NOTIFY_CONNECTION_H
#define NOTIFY_CONNECTION_H

struct director;

struct notify_connection *notify_connection_init(struct director *dir, int fd);
void notify_connection_deinit(struct notify_connection **conn);

#endif