| Server IP : 85.214.143.32 / Your IP : 216.73.217.113 Web Server : nginx/1.24.0 System : Linux datensicherung.webdress.site 6.8.0-139-generic #139-Ubuntu SMP PREEMPT_DYNAMIC Sat Aug 1 03:52:05 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/include/dovecot/ |
Upload File : |
#ifndef NOTIFY_PLUGIN_H
#define NOTIFY_PLUGIN_H
#include "mail-types.h"
struct mail;
struct mail_transaction_commit_changes;
struct mail_storage;
struct mailbox_transaction_context;
struct mailbox_list;
struct mailbox;
struct notify_context;
struct module;
struct notify_vfuncs {
void *(*mail_transaction_begin)(struct mailbox_transaction_context *t);
void (*mail_save)(void *txn, struct mail *mail);
void (*mail_copy)(void *txn, struct mail *src, struct mail *dst);
void (*mail_expunge)(void *txn, struct mail *mail);
void (*mail_update_flags)(void *txn, struct mail *mail,
enum mail_flags old_flags);
void (*mail_update_keywords)(void *txn, struct mail *mail,
const char *const *old_keywords);
void (*mail_transaction_commit)(void *txn,
struct mail_transaction_commit_changes *changes);
void (*mail_transaction_rollback)(void *txn);
void (*mailbox_create)(struct mailbox *box);
void (*mailbox_update)(struct mailbox *box);
void *(*mailbox_delete_begin)(struct mailbox *box);
void (*mailbox_delete_commit)(void *txn, struct mailbox *box);
void (*mailbox_delete_rollback)(void *txn);
void (*mailbox_rename)(struct mailbox *src, struct mailbox *dest);
void (*mailbox_set_subscribed)(struct mailbox *box, bool subscribed);
};
struct notify_context *
notify_register(const struct notify_vfuncs *vfuncs);
void notify_unregister(struct notify_context *ctx);
void notify_plugin_init(struct module *module);
void notify_plugin_deinit(void);
#endif