aboutsummaryrefslogblamecommitdiffstats
path: root/signature.h
blob: 9135aeea608c6ead935822cce86ede2d033ebe90 (plain) (tree)
1
2
3
4
5
6
7
8
9








                             
                       


                          




                                                                       


                                                
#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 */