From f7548d6d28c313cf80e6f3ef89aed16a19815df1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:51:24 +0200 Subject: Adding upstream version 1:2.3.19.1+dfsg1. Signed-off-by: Daniel Baumann --- src/replication/replicator/replicator-brain.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/replication/replicator/replicator-brain.h (limited to 'src/replication/replicator/replicator-brain.h') 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 -- cgit v1.2.3