test-dsync-worker.c revision 3fe67ec75ccae1230bb9eb9f16affc48377f6441
/* Copyright (c) 2009 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "str.h"
#include "istream.h"
#include "test-dsync-worker.h"
extern struct dsync_worker_vfuncs test_dsync_worker;
struct dsync_worker *dsync_worker_init_test(void)
{
struct test_dsync_worker *worker;
}
{
}
{
return FALSE;
}
{
return 1;
}
static struct dsync_worker_mailbox_iter *
{
}
static int
struct dsync_mailbox *dsync_box_r)
{
struct test_dsync_worker_mailbox_iter *iter =
(struct test_dsync_worker_mailbox_iter *)_iter;
return 1;
}
static int
{
struct test_dsync_worker *worker =
return 0;
}
static struct dsync_worker_subs_iter *
{
}
static int
struct dsync_worker_subscription *rec_r)
{
struct test_dsync_worker_subs_iter *iter =
(struct test_dsync_worker_subs_iter *)_iter;
return 1;
}
static int
struct dsync_worker_unsubscription *rec_r)
{
struct test_dsync_worker_subs_iter *iter =
(struct test_dsync_worker_subs_iter *)_iter;
return 1;
}
static int
{
struct test_dsync_worker *worker =
return 0;
}
static struct dsync_worker_msg_iter *
const mailbox_guid_t mailboxes[],
unsigned int mailbox_count)
{
sizeof(mailboxes[0]) * mailbox_count);
}
static int
unsigned int *mailbox_idx_r,
struct dsync_message *msg_r)
{
struct test_dsync_worker_msg_iter *iter =
(struct test_dsync_worker_msg_iter *)_iter;
const struct test_dsync_worker_msg *msg;
return 1;
}
static int
{
struct test_dsync_worker *worker =
return 0;
}
static void
const struct dsync_mailbox *dsync_box,
enum test_dsync_last_box_type type)
{
struct test_dsync_box_event event;
}
struct test_dsync_box_event *event_r)
{
const struct test_dsync_box_event *events;
unsigned int count;
if (count == 0)
return FALSE;
return TRUE;
}
static void
{
struct dsync_mailbox dsync_box;
}
static void
const struct dsync_mailbox *dsync_box)
{
}
static void
const struct dsync_mailbox *dsync_box)
{
struct test_dsync_box_event event;
}
static void
const mailbox_guid_t *mailbox,
const struct dsync_mailbox *dsync_box)
{
struct test_dsync_box_event event;
}
static void
const struct dsync_mailbox *dsync_box)
{
}
static void
const mailbox_guid_t *mailbox,
{
struct dsync_mailbox box;
}
static struct test_dsync_msg_event *
const struct dsync_message *msg,
enum test_dsync_last_msg_type type)
{
struct test_dsync_msg_event *event;
const char **keywords;
unsigned int i, count;
for (i = 0; i < count; i++) {
}
}
return event;
}
struct test_dsync_msg_event *event_r)
{
const struct test_dsync_msg_event *events;
unsigned int count;
if (count == 0)
return FALSE;
return TRUE;
}
static void
const struct dsync_message *msg)
{
}
static void
{
struct dsync_message msg;
}
{
struct dsync_message msg;
}
static void
const mailbox_guid_t *src_mailbox,
{
struct test_dsync_msg_event *event;
}
static void
const struct dsync_message *msg,
const struct dsync_msg_static_data *data)
{
struct test_dsync_msg_event *event;
const unsigned char *d;
}
}
static void
{
}
static void
{
struct dsync_msg_static_data data;
}
static void
{
}
struct dsync_worker_vfuncs test_dsync_worker = {
};