Back to index

courier  0.68.2
bofh.h
Go to the documentation of this file.
00001 #ifndef       bofh_h
00002 #define       bofh_h
00003 
00004 /*
00005 ** Copyright 2001 Double Precision, Inc.
00006 ** See COPYING for distribution information.
00007 */
00008 
00009 #if    HAVE_CONFIG_H
00010 #undef PACKAGE
00011 #undef VERSION
00012 #include      "config.h"
00013 #endif
00014 
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018 
00019 
00020 struct bofh_list {
00021        struct bofh_list *next;
00022        char *name;
00023        struct bofh_list *aliases;
00024 } ;
00025 
00026 void bofh_init();
00027 
00028 int bofh_chkbadfrom(const char *);
00029 int bofh_chkspamtrap(const char *);
00030 struct bofh_list *bofh_chkfreemail(const char *);
00031 int bofh_chkbadmx(const char *);
00032 int bofh_checkspf(const char *envvarname,
00033                 const char *defaultValue, const char *keyword);
00034 int bofh_checkspf_status(const char *envvarname,
00035                       const char *defaultValue, const char *keyword);
00036 
00037 extern unsigned max_bofh;
00038 extern int max_bofh_ishard;
00039 
00040 #ifdef __cplusplus
00041 }
00042 #endif
00043 #endif