HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/root/proc/self/root/usr/local/apps/dovecot/include/dovecot/mailbox-match-plugin.h
#ifndef MAILBOX_MATCH_PLUGIN_H
#define MAILBOX_MATCH_PLUGIN_H

struct mailbox;

/* Utility library to allow a Dovecot plugin an easy way to configure a list
   of mailbox patterns and special-use flags that can be matched against. */

struct mailbox_match_plugin *
mailbox_match_plugin_init(struct mail_user *user, const char *set_prefix);
void mailbox_match_plugin_deinit(struct mailbox_match_plugin **match);

bool mailbox_match_plugin_exclude(struct mailbox_match_plugin *match,
				  struct mailbox *box);

#endif