replicator-connection.c revision bcb4e51a409d94ae670de96afb8483a4f7855294
f59c16625dc8fb1b734fddbba58012ec42cf945dTimo Sirainen/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
f59c16625dc8fb1b734fddbba58012ec42cf945dTimo Sirainen#define REPLICATOR_HANDSHAKE "VERSION\treplicator-notify\t1\t0\n"
f59c16625dc8fb1b734fddbba58012ec42cf945dTimo Sirainen buffer_t *queue[REPLICATION_PRIORITY_SYNC + 1];
void *context;
unsigned int id;
const char *line;
for (;; len++) {
len++;
return FALSE;
return TRUE;
enum replication_priority p;
for (p = REPLICATION_PRIORITY_SYNC;;) {
if (p == REPLICATION_PRIORITY_LOW)
conn);
return conn;
struct replicator_connection *
return conn;
struct replicator_connection *
return conn;
const char *username,
switch (priority) {
i_unreached();
case REPLICATION_PRIORITY_LOW:
T_BEGIN {
} T_END;
unsigned int id;
T_BEGIN {
} T_END;