search for: lstorag

Displaying 2 results from an estimated 2 matches for "lstorag".

Did you mean: storag
2010 Jul 29
1
Patch: New event "mailbox_create" for the mail_log plugin
..."mailbox_rename", "flag_change", "append", + "mailbox_create", NULL }; @@ -597,6 +600,22 @@ return 0; } +static int +mail_log_mailbox_create(struct mail_storage *storage, const char *name, + bool directory) +{ + union mail_storage_module_context *lstorage = MAIL_LOG_CONTEXT(storage); + + if (lstorage->super.mailbox_create(storage, name, directory) < 0) + return -1; + + if ((mail_log_set.events & MAIL_LOG_EVENT_MAILBOX_CREATE) == 0) + return 0; + + i_info("Mailbox created: %s", str_sanitize(name, MAILBOX_NAME_LOG_LEN)); + retu...
2014 Jul 28
2
not able to compile deleted_to_trash Plugin
...^ deleted-to-trash-plugin.c: In function 'deleted_to_trash_mailbox_open': deleted-to-trash-plugin.c:290:23: error: 'struct mail_storage_vfuncs' has no member named 'mailbox_open' box = lstorage->super.mailbox_open(storage, name, input, flags); ^ deleted-to-trash-plugin.c:298:29: warning: assignment from incompatible pointer type [enabled by default] box->v.transaction_commit = deleted_to_trash_transaction_commit; ^ deleted-to-t...