Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

mailfilter.hh

Go to the documentation of this file.
00001 /* mailfilter.hh - source file for the mailfilter program
00002  * Copyright (c) 2000  Andreas Bauer <baueran@in.tum.de>
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
00017  * USA.
00018  */
00019 
00020 #ifndef MAILFILTER_HH
00021 #define MAILFILTER_HH
00022 
00023 // Preferences
00024 #define VERBOSE                          1
00025 #define SILENT                           2
00026 #define ALLOW_NON_ALPHANUMERIC           3
00027 
00028 // General error codes
00029 #define DNS_LOOKUP_FAILURE            -100
00030 #define AUTHENTICATION_FAILURE        -101
00031 #define SOCKET_COMMUNICATION_FAILURE  -102
00032 #define SOCKET_CONNECTION_FAILURE     -103
00033 #define UNKNOWN_COMMUNICATION_FAILURE -104
00034 #define MALFORMED_HEADER_FAILURE      -105
00035 
00036 // POP error codes
00037 #define CMD_LIST_FAILED               -201
00038 #define CMD_TOP_FAILED                -202
00039 #define CMD_QUIT_FAILED               -203
00040 #define CMD_STAT_FAILED               -204
00041 #define CMD_DELE_FAILED               -205
00042 
00043 #ifndef FALSE
00044 #define FALSE false
00045 #define TRUE true
00046 #endif
00047 
00048 #endif

Generated at Tue Dec 19 19:21:03 2000 for mailfilter by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000