]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Implement mailbox_list_notify_flush()
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 17 May 2017 16:01:57 +0000 (19:01 +0300)
committerGitLab <gitlab@git.dovecot.net>
Fri, 19 May 2017 14:19:52 +0000 (17:19 +0300)
commit58a89627905e3590381cdd5eb931b9537c4b4ea6
treedd3b53b4e7fe9093b7562a901ae006625856f612
parenta384b1fccb51884e8afe0f571420961851a2149d
lib-storage: Implement mailbox_list_notify_flush()

This flushes any pending notifications. For now it only checks if there's
a pending notification waiting for a timeout. It could also stat() the
files to make sure, but that's probably unnecessary.
src/lib-storage/list/mailbox-list-index-notify.c
src/lib-storage/list/mailbox-list-index.c
src/lib-storage/list/mailbox-list-index.h
src/lib-storage/mailbox-list-notify.c
src/lib-storage/mailbox-list-notify.h
src/lib-storage/mailbox-list-private.h