/
niceSOFT
/
dovecot
Обзор
Документация
Войти
/
niceSOFT
/
dovecot
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/plugins/acl/acl-plugin.c
29 строк
812 B
Michael M Slusarz
COPYING: Simplify and standardize copyright handling
03 июл 2026, 02:25
03 июл 2026, 02:25
2a5809c
Код
Авторство
О чём код?
/* Copyright (c) Dovecot authors, see top-level COPYING file */ #include "lib.h" #include "mailbox-list-private.h" #include "acl-api-private.h" #include "acl-plugin.h" extern const struct acl_backend_vfuncs acl_backend_vfile; const char *acl_plugin_version = DOVECOT_ABI_VERSION; static struct mail_storage_hooks acl_mail_storage_hooks = { .mail_user_created = acl_mail_user_created, .mailbox_list_created = acl_mailbox_list_created, .mailbox_allocated = acl_mailbox_allocated, .mail_allocated = acl_mail_allocated }; void acl_plugin_init(struct module *module) { acl_backend_register(&acl_backend_vfile); mail_storage_hooks_add(module, &acl_mail_storage_hooks); } void acl_plugin_deinit(void) { mail_storage_hooks_remove(&acl_mail_storage_hooks); acl_backend_unregister(acl_backend_vfile.name); }