diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-12-28 17:30:37 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-12-28 17:43:15 +0200 |
commit | 29a5598ab4ccdb0c9a6646f26932cc37889a781d (patch) | |
tree | 441fce2f3d773d8ba7278bfa8e22b3b02c1cfc22 /libmailutils/url | |
parent | d85540094f0df7258af1cae7c61cc6d45c2a4f53 (diff) | |
download | mailutils-29a5598ab4ccdb0c9a6646f26932cc37889a781d.tar.gz mailutils-29a5598ab4ccdb0c9a6646f26932cc37889a781d.tar.bz2 |
imap4d: speed up asynchronous mailbox notifications.
* imap4d/imap4d.h (util_format_attribute_flags): New prototype.
* imap4d/sync.c: Rewrite using flag table to keep attribute flags,
mu_mailbox_translate to convert uids to message numbers and
MU_EVT_MAILBOX_MESSAGE_EXPUNGE event to report expunged messages.
* imap4d/util.c (_imap4d_attrlist): Remove \Recent
(util_attribute_to_type): Handle \Recent separately.
(util_format_attribute_flags): New function.
(util_print_flags): Rewrite as an extra entry point to the above.
mailboxes: New event MU_EVT_MAILBOX_MESSAGE_EXPUNGE.
* include/mailutils/observer.h: Rearrange and partially rename
event constants (all uses updated):
MU_EVT_MESSAGE_APPEND => MU_EVT_MAILBOX_MESSAGE_APPEND
MU_EVT_AUTHORITY_FAILED => MU_EVT_FOLDER_AUTHORITY_FAILED
(MU_EVT_MAILBOX_MESSAGE_EXPUNGE): New event.
* libproto/mbox/mbox.c: Generate MU_EVT_MAILBOX_MESSAGE_EXPUNGE.
* libproto/pop/mbox.c: Likewise.
* libmailutils/base/amd.c: Likewise.
Diffstat (limited to 'libmailutils/url')
0 files changed, 0 insertions, 0 deletions