]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
notify: Removed noop functions, they're no longer needed.
authorTimo Sirainen <tss@iki.fi>
Mon, 2 Aug 2010 14:30:27 +0000 (15:30 +0100)
committerTimo Sirainen <tss@iki.fi>
Mon, 2 Aug 2010 14:30:27 +0000 (15:30 +0100)
src/plugins/notify/Makefile.am
src/plugins/notify/notify-noop.c [deleted file]
src/plugins/notify/notify-plugin.h

index d10c3763b9cec31c2f0be7354980371aa97d3c60..174dae3ae87ddff93e5b5dbdffb7578309be4238 100644 (file)
@@ -14,7 +14,6 @@ module_LTLIBRARIES = \
 
 lib15_notify_plugin_la_SOURCES = \
        notify-plugin.c \
-       notify-noop.c \
        notify-storage.c
 
 headers = \
diff --git a/src/plugins/notify/notify-noop.c b/src/plugins/notify/notify-noop.c
deleted file mode 100644 (file)
index b991828..0000000
+++ /dev/null
@@ -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) {}
index 2af8079a9034e2affaad6d36bcfdcb8841485c37..db2fabfd762bcd50ff53d2f9d451e6f5840f53ee 100644 (file)
@@ -30,23 +30,6 @@ struct notify_vfuncs {
                               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);