diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:51:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:51:24 +0000 |
commit | f7548d6d28c313cf80e6f3ef89aed16a19815df1 (patch) | |
tree | a3f6f2a3f247293bee59ecd28e8cd8ceb6ca064a /src/replication/replicator/replicator-brain.h | |
parent | Initial commit. (diff) | |
download | dovecot-upstream.tar.xz dovecot-upstream.zip |
Adding upstream version 1:2.3.19.1+dfsg1.upstream/1%2.3.19.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/replication/replicator/replicator-brain.h')
-rw-r--r-- | src/replication/replicator/replicator-brain.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/replication/replicator/replicator-brain.h b/src/replication/replicator/replicator-brain.h new file mode 100644 index 0000000..6e9ae23 --- /dev/null +++ b/src/replication/replicator/replicator-brain.h @@ -0,0 +1,20 @@ +#ifndef REPLICATOR_BRAIN_H +#define REPLICATOR_BRAIN_H + +struct replicator_settings; +struct replicator_queue; + +struct replicator_brain * +replicator_brain_init(struct replicator_queue *queue, + const struct replicator_settings *set); +void replicator_brain_deinit(struct replicator_brain **brain); + +struct replicator_queue * +replicator_brain_get_queue(struct replicator_brain *brain); +const struct replicator_settings * +replicator_brain_get_settings(struct replicator_brain *brain); + +const ARRAY_TYPE(dsync_client) * +replicator_brain_get_dsync_clients(struct replicator_brain *brain); + +#endif |