diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-04-26 20:09:45 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-04-26 20:09:45 +0200 |
commit | ba068756b782e55251bd58ac67f0a9700f745fbe (patch) | |
tree | a27f284c3b7f877a8b102ac0c5e9fef1062735d6 /antispam-plugin.h | |
parent | 938d7cf7209014f0b219a58c0c6cc6bc5f7cce4c (diff) | |
download | dovecot-antispam-ba068756b782e55251bd58ac67f0a9700f745fbe.tar.gz dovecot-antispam-ba068756b782e55251bd58ac67f0a9700f745fbe.tar.xz dovecot-antispam-ba068756b782e55251bd58ac67f0a9700f745fbe.zip |
shuffle some code, add _id for 1.1 plugin
Diffstat (limited to 'antispam-plugin.h')
-rw-r--r-- | antispam-plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/antispam-plugin.h b/antispam-plugin.h index 8a7958d..f614894 100644 --- a/antispam-plugin.h +++ b/antispam-plugin.h @@ -10,6 +10,14 @@ #define __stringify_1(x) #x #define stringify(x) __stringify_1(x) +#define __PLUGIN_FUNCTION(name, ioe) \ + name ## _plugin_ ## ioe +#define _PLUGIN_FUNCTION(name, ioe) \ + __PLUGIN_FUNCTION(name, ioe) +#define PLUGIN_FUNCTION(ioe) \ + _PLUGIN_FUNCTION(PLUGINNAME, ioe) + +extern uint32_t PLUGIN_FUNCTION(id); struct antispam_transaction_context; |