| 1 | package Mail::Decency::ContentFilter::Core::Constants; | ||
| 2 | |||
| 3 | 9 | ▶ | use version 0.74; our $VERSION = qv( "v0.1.4" ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 9 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 9 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Mail::Decency::ContentFilter::Core::Constants | ||
| 12 | |||
| 13 | =head1 DESCRIPTION | ||
| 14 | |||
| 15 | Constants for usage in conten filter API | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | 9 | ▶ | use base qw/ Exporter /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 9 | our @EXPORT = qw/ | |
| 21 | CF_FILTER_OK | ||
| 22 | CF_FILE_TO_BIG | ||
| 23 | CF_FILTER_DONT_HANDLE | ||
| 24 | CF_FOUND_SPAM | ||
| 25 | CF_FOUND_VIRUS | ||
| 26 | CF_FINAL_OK | ||
| 27 | CF_FINAL_BOUNCE | ||
| 28 | CF_FINAL_ERROR | ||
| 29 | CF_FINAL_DELETED | ||
| 30 | CRLF | ||
| 31 | /; | ||
| 32 | |||
| 33 | |||
| 34 | =head1 CONSTANTS | ||
| 35 | |||
| 36 | =head2 CF_FILTER_OK | ||
| 37 | |||
| 38 | =head2 CF_FILE_TO_BIG | ||
| 39 | |||
| 40 | =head2 CF_FILTER_DONT_HANDLE | ||
| 41 | |||
| 42 | =head2 CF_FOUND_SPAM | ||
| 43 | |||
| 44 | =head2 CF_FOUND_VIRUS | ||
| 45 | |||
| 46 | =head2 CF_FINAL_OK | ||
| 47 | |||
| 48 | =head2 CF_FINAL_ERROR | ||
| 49 | |||
| 50 | =head2 CF_FINAL_DELETED | ||
| 51 | |||
| 52 | =head2 CRLF | ||
| 53 | |||
| 54 | =cut | ||
| 55 | |||
| 56 | 9 | ▶ | use constant CF_FILTER_OK => 100; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 57 | 9 | ▶ | use constant CF_FILE_TO_BIG => 101; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 58 | 9 | ▶ | use constant CF_FILTER_DONT_HANDLE => 102; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 59 | 9 | ▶ | use constant CF_FOUND_SPAM => 103; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 60 | 9 | ▶ | use constant CF_FOUND_VIRUS => 104; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 61 | 9 | ▶ | use constant CF_FINAL_OK => 105; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 62 | 9 | ▶ | use constant CF_FINAL_BOUNCE => 106; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 63 | 9 | ▶ | use constant CF_FINAL_ERROR => 106; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 64 | 9 | ▶ | use constant CF_FINAL_DELETED => 107; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 65 | 9 | ▶ | use constant CRLF => qq[\x0D\x0A]; # RFC 2821, 2.3.7 |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head1 AUTHOR | ||
| 70 | |||
| 71 | Ulrich Kautz <uk@fortrabbit.de> | ||
| 72 | |||
| 73 | =head1 COPYRIGHT | ||
| 74 | |||
| 75 | Copyright (c) 2010 the L</AUTHOR> as listed above | ||
| 76 | |||
| 77 | =head1 LICENCSE | ||
| 78 | |||
| 79 | This library is free software and may be distributed under the same terms as perl itself. | ||
| 80 | |||
| 81 | =cut | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | 9 | 1; | |