aboutsummaryrefslogtreecommitdiffstats
path: root/perl.h
blob: 6f74cae29042f00f626875d305ac831bcbf7b0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef RSPAM_PERL_H
#define RSPAM_PERL_H

#include <sys/types.h>
#include <glib.h>

struct uri;

int call_header_filter (const char *function, const char *header_name, const char *header_value);
int call_mime_filter (const char *function, GByteArray *content);
int call_message_filter (const char *function, GByteArray *content);
int call_url_filter (const char *function, struct uri *uri);
int call_chain_filter (const char *function, GArray *results);

#endif