blob: 9135aeea608c6ead935822cce86ede2d033ebe90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef _ANTISPAM_SIGNATURE_H
#define _ANTISPAM_SIGNATURE_H
#include "lib.h"
#include "client.h"
struct siglist {
struct siglist *next;
char *sig;
bool from_spam;
};
void signature_init(void);
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 */
|