annotate src/director/notify-connection.h @ 22658:ff99e7bff132

director: Allow proxy-notify to optionally be a socket Dovecot isn't using this currently, but it can be useful if external services want to send notifications.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 27 Oct 2017 16:24:54 +0300
parents 98408dc06937
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11325
2a5336ad86cd director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
1 #ifndef NOTIFY_CONNECTION_H
2a5336ad86cd director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
2 #define NOTIFY_CONNECTION_H
2a5336ad86cd director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
3
2a5336ad86cd director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
4 struct director;
2a5336ad86cd director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
5
22658
ff99e7bff132 director: Allow proxy-notify to optionally be a socket
Timo Sirainen <timo.sirainen@dovecot.fi>
parents: 22657
diff changeset
6 void notify_connection_init(struct director *dir, int fd, bool fifo);
22657
98408dc06937 director: Support multiple proxy-notify connections
Timo Sirainen <timo.sirainen@dovecot.fi>
parents: 11325
diff changeset
7 void notify_connections_deinit(void);
11325
2a5336ad86cd director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
8
2a5336ad86cd director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
9 #endif