/* Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "director.h"
#include "director-host.h"
const struct director_host *b2)
{
int ret;
if (ret != 0)
return ret;
}
struct director_host *const *host2)
{
}
struct director_host *
{
/* there are few enough directors that sorting after each
addition should be fine */
return host;
}
{
}
{
}
{
unsigned int i, count;
return;
for (i = 0; i < count; i++) {
break;
}
}
}
{
host->last_sync_seq = 0;
host->last_sync_seq_counter = 0;
host->last_sync_timestamp = 0;
}
struct director_host *
{
return host;
}
struct director_host *
{
return *hostp;
}
return NULL;
}
struct director_host *
{
return *hostp;
}
return NULL;
}
const struct director_host *b2,
const struct director_host *self)
{
int ret;
/* order -> return:
self, b1, b2 -> b2
b1, self, b2 -> b1
b1, b2, self -> b2
*/
return 1; /* self, b1, b2 */
return -1; /* b1, self, b2 */
return 1; /* b1, b2, self */
}
{
unsigned int i, ips_count;
for (i = 0; i < ips_count; i++) {
}
}
{
T_BEGIN {
const char *const *tmp;
} T_END;
/* standalone director */
i_unreached();
}
}