You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

patch-perl_Rspamd.pm 949B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --- perl/Rspamd.pm 2010-03-24 16:39:28.000000000 +0300
  2. +++ perl/Rspamd.pm 2010-03-24 19:35:13.000000000 +0300
  3. @@ -1,54 +0,0 @@
  4. -package Mail::Rspamd;
  5. -
  6. -use 5.006001;
  7. -use strict;
  8. -use warnings;
  9. -
  10. -require Exporter;
  11. -
  12. -our @ISA = qw(Exporter);
  13. -our @EXPORT = qw(
  14. - module_init
  15. - module_reload
  16. - LOG_ERROR
  17. - LOG_WARNING
  18. - LOG_MESSAGE
  19. - LOG_INFO
  20. - LOG_DEBUG
  21. -);
  22. -
  23. -our $VERSION = '0.0.1';
  24. -
  25. -require XSLoader;
  26. -XSLoader::load('Rspamd', $VERSION);
  27. -
  28. -sub module_init {
  29. - my ($cfg) = @_;
  30. -}
  31. -
  32. -sub module_reload {
  33. - my ($cfg) = @_;
  34. -}
  35. -
  36. -use constant LOG_ERROR => 1 << 3;
  37. -use constant LOG_WARNING => 1 << 4;
  38. -use constant LOG_MESSAGE => 1 << 5;
  39. -use constant LOG_INFO => 1 << 6;
  40. -use constant LOG_DEBUG => 1 << 7;
  41. -
  42. -1;
  43. -__END__
  44. -
  45. -=head1 NAME
  46. -
  47. -rspamd - Perl interface to the rspamd API
  48. -
  49. -=head1 SYNOPSIS
  50. -
  51. - use rspamd;
  52. -
  53. -=head1 DESCRIPTION
  54. -
  55. -TODO: Not ready yet
  56. -
  57. -=cut