aboutsummaryrefslogblamecommitdiffstats
path: root/signature.h
blob: 85da0ff6e142673735b0db37ecf0ab230a4ccee9 (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 char *signature_hdr;

#endif /* _ANTISPAM_SIGNATURE_H */