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





                             

                            


                             
                                   


                          

                                                                       
                                                          

                                                                    

                                                
                                 
 
                                  
#ifndef _ANTISPAM_SIGNATURE_H
#define _ANTISPAM_SIGNATURE_H

#include "lib.h"
#include "client.h"

#include "antispam-plugin.h"

struct siglist {
	struct siglist *next;
	char *sig;
	enum classification wanted;
};

void signature_init(void);
int signature_extract_to_list(struct mailbox_transaction_context *t,
			      struct mail *mail, struct siglist **list,
			      enum classification wanted);
const char *signature_extract(struct mailbox_transaction_context *t,
			      struct mail *mail);
void signature_list_free(struct siglist **list);

extern const char *signature_hdr;

#endif /* _ANTISPAM_SIGNATURE_H */