diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-10-01 16:48:32 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2007-10-01 16:48:32 +0200 |
commit | 3e4d592e8c4993847892894a436f2626480da05d (patch) | |
tree | 63407ff2937a36dc17f1bdddd0d79bb6264f19f7 /signature.h | |
parent | 7ea99173fa56985a298b32d0c0db5195a6d27b17 (diff) | |
download | dovecot-antispam-3e4d592e8c4993847892894a436f2626480da05d.tar.gz dovecot-antispam-3e4d592e8c4993847892894a436f2626480da05d.tar.xz dovecot-antispam-3e4d592e8c4993847892894a436f2626480da05d.zip |
improve signature extraction API
Diffstat (limited to '')
-rw-r--r-- | signature.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/signature.h b/signature.h index a015fd3..9135aee 100644 --- a/signature.h +++ b/signature.h @@ -11,9 +11,11 @@ struct siglist { }; void signature_init(void); -int signature_extract(struct mailbox_transaction_context *t, - struct mail *mail, struct siglist **list, - bool from_spam); +int signature_extract_to_list(struct mailbox_transaction_context *t, + struct mail *mail, struct siglist **list, + bool from_spam); +const char *signature_extract(struct mailbox_transaction_context *t, + struct mail *mail); void signature_list_free(struct siglist **list); #endif /* _ANTISPAM_SIGNATURE_H */ |