diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-03-24 19:44:52 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-03-24 19:44:52 +0300 |
commit | 9e16e433e1386b3613ea5667b12ee14c3ef0588c (patch) | |
tree | 184533863a4a3a9beadcfc902a685a0cf6cff095 /perl | |
parent | 7ee1ed10ba98a9dd8e727aa6a728ff29a3ca0ec4 (diff) | |
download | rspamd-9e16e433e1386b3613ea5667b12ee14c3ef0588c.tar.gz rspamd-9e16e433e1386b3613ea5667b12ee14c3ef0588c.zip |
* Add FreeBSD port
Diffstat (limited to 'perl')
-rw-r--r-- | perl/Rspamd.pm | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/perl/Rspamd.pm b/perl/Rspamd.pm deleted file mode 100644 index 2966cb3ca..000000000 --- a/perl/Rspamd.pm +++ /dev/null @@ -1,54 +0,0 @@ -package Mail::Rspamd; - -use 5.006001; -use strict; -use warnings; - -require Exporter; - -our @ISA = qw(Exporter); -our @EXPORT = qw( - module_init - module_reload - LOG_ERROR - LOG_WARNING - LOG_MESSAGE - LOG_INFO - LOG_DEBUG -); - -our $VERSION = '0.0.1'; - -require XSLoader; -XSLoader::load('Rspamd', $VERSION); - -sub module_init { - my ($cfg) = @_; -} - -sub module_reload { - my ($cfg) = @_; -} - -use constant LOG_ERROR => 1 << 3; -use constant LOG_WARNING => 1 << 4; -use constant LOG_MESSAGE => 1 << 5; -use constant LOG_INFO => 1 << 6; -use constant LOG_DEBUG => 1 << 7; - -1; -__END__ - -=head1 NAME - -rspamd - Perl interface to the rspamd API - -=head1 SYNOPSIS - - use rspamd; - -=head1 DESCRIPTION - -TODO: Not ready yet - -=cut |