23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersenint mailbox_list_notify_init(struct mailbox_list *list,
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen return list->v.notify_init(list, mask, notify_r);
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersenvoid mailbox_list_notify_deinit(struct mailbox_list_notify **_notify)
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen struct mailbox_list_notify *notify = *_notify;
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersenint mailbox_list_notify_next(struct mailbox_list_notify *notify,
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen return notify->list->v.notify_next(notify, rec_r);
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersenvoid mailbox_list_notify_wait(struct mailbox_list_notify *notify,
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen void (*callback)(void *context), void *context)
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen notify->list->v.notify_wait(notify, callback, context);
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersenvoid mailbox_list_notify_flush(struct mailbox_list_notify *notify)