/* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "push-notification-drivers.h"
#include "push-notification-events.h"
#include "push-notification-txn-mbox.h"
#include "push-notification-txn-msg.h"
static int
void **context ATTR_UNUSED,
const char **error_r ATTR_UNUSED)
{
i_debug("Called init push_notification plugin hook.");
i_debug("Config string for dlog push_notification driver: %s",
config->raw_config);
}
return 0;
}
static bool push_notification_driver_dlog_begin_txn
(struct push_notification_driver_txn *dtxn)
{
i_debug("Called begin_txn push_notification plugin hook.");
}
return TRUE;
}
static void push_notification_driver_dlog_process_mbox
struct push_notification_txn_mbox *mbox)
{
i_debug("Called process_mbox push_notification plugin hook.");
}
}
}
}
static void push_notification_driver_dlog_process_msg
struct push_notification_txn_msg *msg)
{
i_debug("Called process_msg push_notification plugin hook.");
i_debug("Message data: Mailbox [%s], UID [%u], UIDVALIDITY [%u]",
}
}
}
}
static void push_notification_driver_dlog_end_txn
bool success ATTR_UNUSED)
{
i_debug("Called end_txn push_notification plugin hook.");
}
static void push_notification_driver_dlog_deinit
{
i_debug("Called deinit push_notification plugin hook.");
}
static void push_notification_driver_dlog_cleanup(void)
{
i_debug("Called cleanup push_notification plugin hook.");
}
/* Driver definition */
extern struct push_notification_driver push_notification_driver_dlog;
.name = "dlog",
.v = {
}
};