/*
 * Program: Synonym
 * File: filtering.h
 * Author: Ionut Nistor
 * Date: 9 Sep 2003
 *
 * $Id: filtering.h,v 1.4 2004/01/19 09:24:31 diciu Exp $
 *
 * Licensed under the Modulo Consulting Software License
 * (see file license.txt)
 * 
 */


#ifndef _FILTERING_INCLUDED
#define _FILTERING_INCLUDED

#include "config.h"
#include "synonym.h"
#include "milter_data.h"

/* Process the rules in the configuration - match what headers need to be matched. matched_action will contain a chain of actions corresponding to the conditions that matched */
sresult Synonym_Process_Rules(synonym_rule *rules, synonym_header * headers, char * envelope_from, to_list *envelope_to, matched_action **matched_actions);

#endif



syntax highlighted by Code2HTML, v. 0.9.1