Back to index

courier  0.68.2
cdfilters.h
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 1999 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 #ifndef       cdfilters_h
00007 #define       cdfilters_h
00008 
00009 /*
00010 */
00011 
00012 #if    HAVE_CONFIG_H
00013 #include      "config.h"
00014 #endif
00015 
00016 #include      <string>
00017 
00018 int run_filter(
00019        const char *,        // Filename  containing the message
00020        unsigned,            // How many message IDs (can be >1 if
00021                             // message was split due to too many
00022                             // recipients
00023        int,                 // whitelisted flag, used to select
00024                             // filters
00025        std::string (*)(unsigned, void *), // Function to return message id
00026                             //  #n (n is 0..count-1)
00027        void *);             // Second argument to function.
00028 
00029 #endif