dovecot-2.0: notify: Removed noop functions, they're no longer n...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 2 17:30:40 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/de24228a6a5b
changeset: 11916:de24228a6a5b
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 02 15:30:27 2010 +0100
description:
notify: Removed noop functions, they're no longer needed.
diffstat:
src/plugins/notify/Makefile.am | 1 -
src/plugins/notify/notify-noop.c | 28 ----------------------------
src/plugins/notify/notify-plugin.h | 17 -----------------
3 files changed, 0 insertions(+), 46 deletions(-)
diffs (70 lines):
diff -r ca8ec8456cb1 -r de24228a6a5b src/plugins/notify/Makefile.am
--- a/src/plugins/notify/Makefile.am Mon Aug 02 15:29:29 2010 +0100
+++ b/src/plugins/notify/Makefile.am Mon Aug 02 15:30:27 2010 +0100
@@ -14,7 +14,6 @@
lib15_notify_plugin_la_SOURCES = \
notify-plugin.c \
- notify-noop.c \
notify-storage.c
headers = \
diff -r ca8ec8456cb1 -r de24228a6a5b src/plugins/notify/notify-noop.c
--- a/src/plugins/notify/notify-noop.c Mon Aug 02 15:29:29 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-#include "lib.h"
-#include "mail-types.h"
-#include "notify-plugin.h"
-
-void notify_noop_mail_transaction_begin(struct mailbox_transaction_context *t ATTR_UNUSED) {}
-void notify_noop_mail_save(void *txn ATTR_UNUSED,
- struct mail *mail ATTR_UNUSED) {}
-void notify_noop_mail_copy(void *txn ATTR_UNUSED,
- struct mail *src ATTR_UNUSED,
- struct mail *dst ATTR_UNUSED) {}
-void notify_noop_mail_expunge(void *txn ATTR_UNUSED,
- struct mail *mail ATTR_UNUSED) {}
-void notify_noop_mail_update_flags(void *txn ATTR_UNUSED,
- struct mail *mail ATTR_UNUSED,
- enum mail_flags old_flags ATTR_UNUSED) {}
-void notify_noop_mail_update_keywords(void *txn ATTR_UNUSED,
- struct mail *mail ATTR_UNUSED,
- const char *const *old_keywords ATTR_UNUSED) {}
-void notify_noop_mail_transaction_commit(void *txn ATTR_UNUSED,
- struct mail_transaction_commit_changes *changes ATTR_UNUSED) {}
-void notify_noop_mail_transaction_rollback(void *txn ATTR_UNUSED) {}
-void *notify_noop_mailbox_delete_begin(struct mailbox *box ATTR_UNUSED) { return NULL; }
-void notify_noop_mailbox_delete_commit(void *txn ATTR_UNUSED,
- struct mailbox *box ATTR_UNUSED) {}
-void notify_noop_mailbox_delete_rollback(void *txn ATTR_UNUSED) {}
-void notify_noop_mailbox_rename(struct mailbox *src ATTR_UNUSED,
- struct mailbox *dest ATTR_UNUSED,
- bool rename_children ATTR_UNUSED) {}
diff -r ca8ec8456cb1 -r de24228a6a5b src/plugins/notify/notify-plugin.h
--- a/src/plugins/notify/notify-plugin.h Mon Aug 02 15:29:29 2010 +0100
+++ b/src/plugins/notify/notify-plugin.h Mon Aug 02 15:30:27 2010 +0100
@@ -30,23 +30,6 @@
bool rename_children);
};
-void notify_noop_mail_transaction_begin(struct mailbox_transaction_context *t);
-void notify_noop_mail_save(void *txn, struct mail *mail);
-void notify_noop_mail_copy(void *txn, struct mail *src, struct mail *dst);
-void notify_noop_mail_expunge(void *txn, struct mail *mail);
-void notify_noop_mail_update_flags(void *txn, struct mail *mail,
- enum mail_flags old_flags);
-void notify_noop_mail_update_keywords(void *txn, struct mail *mail,
- const char *const *old_keywords);
-void notify_noop_mail_transaction_commit(void *txn,
- struct mail_transaction_commit_changes *changes);
-void notify_noop_mail_transaction_rollback(void *txn);
-void *notify_noop_mailbox_delete_begin(struct mailbox *box);
-void notify_noop_mailbox_delete_commit(void *txn, struct mailbox *box);
-void notify_noop_mailbox_delete_rollback(void *txn);
-void notify_noop_mailbox_rename(struct mailbox *src, struct mailbox *dest,
- bool rename_children);
-
struct notify_context *
notify_register(const struct notify_vfuncs *vfuncs);
void notify_unregister(struct notify_context *ctx);
More information about the dovecot-cvs
mailing list