diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-10-14 23:23:54 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2007-10-14 23:23:54 +0200 |
commit | 9d79926aebf81af7ca33648f992c22374def0922 (patch) | |
tree | e975057d8398951a054ff448576ab40f7bcdb6a9 /antispam-plugin.h | |
parent | c1b287878d7ae8d146e7054002479e53de47f6cb (diff) | |
download | dovecot-antispam-9d79926aebf81af7ca33648f992c22374def0922.tar.gz dovecot-antispam-9d79926aebf81af7ca33648f992c22374def0922.tar.xz dovecot-antispam-9d79926aebf81af7ca33648f992c22374def0922.zip |
make settings per-plugin
Diffstat (limited to '')
-rw-r--r-- | antispam-plugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/antispam-plugin.h b/antispam-plugin.h index a660b9d..9b6bae5 100644 --- a/antispam-plugin.h +++ b/antispam-plugin.h @@ -7,6 +7,10 @@ #include "ostream.h" #include "imap-search.h" +#define __stringify_1(x) #x +#define stringify(x) __stringify_1(x) + + struct antispam_transaction_context; enum classification { @@ -45,5 +49,6 @@ void (*antispam_next_hook_mail_storage_created)(struct mail_storage *storage); bool mailbox_is_spam(struct mailbox *box); bool mailbox_is_trash(struct mailbox *box); bool mailbox_is_unsure(struct mailbox *box); +const char *get_setting(const char *name); #endif /* _ANTISPAM_PLUGIN_H */ |