## EFilterRule EFilterRule |

## Functions

EFilterRule * | e_filter_rule_new ()
EFilterRule * | e_filter_rule_clone ()
void | e_filter_rule_set_name ()
void | e_filter_rule_set_source ()
gint | e_filter_rule_validate ()
gint | e_filter_rule_eq ()
xmlNodePtr | e_filter_rule_xml_encode ()
gint | e_filter_rule_xml_decode ()
void | e_filter_rule_copy ()
void | e_filter_rule_add_part ()
void | e_filter_rule_remove_part ()
void | e_filter_rule_replace_part ()
GtkWidget * | e_filter_rule_get_widget ()
void | e_filter_rule_build_code ()
void | e_filter_rule_emit_changed ()
EFilterRule * | e_filter_rule_next_list ()
EFilterRule * | e_filter_rule_find_list ()

## Types and Values

enum | filter_grouping_t
enum | filter_threading_t
#define | E_FILTER_SOURCE_INCOMING
#define | E_FILTER_SOURCE_DEMAND
#define | E_FILTER_SOURCE_OUTGOING
#define | E_FILTER_SOURCE_JUNKTEST

## Description

## Functions

### e_filter_rule_new ()

    EFilterRule *
    e_filter_rule_new (void);

`e_filter_rule_new` is deprecated and should not be used in newly-written code.

### e_filter_rule_clone ()

    EFilterRule *
    e_filter_rule_clone (EFilterRule *rule);

`e_filter_rule_clone` is deprecated and should not be used in newly-written code.

### e_filter_rule_set_name ()

    void
    e_filter_rule_set_name (EFilterRule *rule,
                            const gchar *name);

`e_filter_rule_set_name` is deprecated and should not be used in newly-written code.

### e_filter_rule_set_source ()

    void
    e_filter_rule_set_source (EFilterRule *rule,
                              const gchar *source);

`e_filter_rule_set_source` is deprecated and should not be used in newly-written code.

### e_filter_rule_validate ()

    gint
    e_filter_rule_validate (EFilterRule *rule,
                            EAlert **alert);

`e_filter_rule_validate` is deprecated and should not be used in newly-written code.

### e_filter_rule_eq ()

    gint
    e_filter_rule_eq (EFilterRule *rule_a,
                      EFilterRule *rule_b);

`e_filter_rule_eq` is deprecated and should not be used in newly-written code.

### e_filter_rule_xml_encode ()

    xmlNodePtr
    e_filter_rule_xml_encode (EFilterRule *rule);

`e_filter_rule_xml_encode` is deprecated and should not be used in newly-written code.

### e_filter_rule_xml_decode ()

    gint
    e_filter_rule_xml_decode (EFilterRule *rule,
                              xmlNodePtr node,
                              struct _ERuleContext *context);

`e_filter_rule_xml_decode` is deprecated and should not be used in newly-written code.

### e_filter_rule_copy ()

    void
    e_filter_rule_copy (EFilterRule *dst_rule,
                        EFilterRule *src_rule);

`e_filter_rule_copy` is deprecated and should not be used in newly-written code.

### e_filter_rule_add_part ()

    void
    e_filter_rule_add_part (EFilterRule *rule,
                            EFilterPart *part);

`e_filter_rule_add_part` is deprecated and should not be used in newly-written code.

### e_filter_rule_remove_part ()

    void
    e_filter_rule_remove_part (EFilterRule *rule,
                               EFilterPart *part);

`e_filter_rule_remove_part` is deprecated and should not be used in newly-written code.

### e_filter_rule_replace_part ()

    void
    e_filter_rule_replace_part (EFilterRule *rule,
                                EFilterPart *old_part,
                                EFilterPart *new_part);

`e_filter_rule_replace_part` is deprecated and should not be used in newly-written code.

### e_filter_rule_get_widget ()

    GtkWidget *
    e_filter_rule_get_widget (EFilterRule *rule,
                              struct _ERuleContext *context);

`e_filter_rule_get_widget` is deprecated and should not be used in newly-written code.

### e_filter_rule_build_code ()

    void
    e_filter_rule_build_code (EFilterRule *rule,
                              GString *out);

`e_filter_rule_build_code` is deprecated and should not be used in newly-written code.

### e_filter_rule_emit_changed ()

    void
    e_filter_rule_emit_changed (EFilterRule *rule);

`e_filter_rule_emit_changed` is deprecated and should not be used in newly-written code.

### e_filter_rule_next_list ()

    EFilterRule *
    e_filter_rule_next_list (GList *list,
                             EFilterRule *last,
                             const gchar *source);

`e_filter_rule_next_list` is deprecated and should not be used in newly-written code.

### e_filter_rule_find_list ()

    EFilterRule *
    e_filter_rule_find_list (GList *list,
                             const gchar *name,
                             const gchar *source);

`e_filter_rule_find_list` is deprecated and should not be used in newly-written code.

## Types and Values

### enum filter_grouping_t

`filter_grouping_t` is deprecated and should not be used in newly-written code.

#### Members

E_FILTER_GROUP_ALL |  |
E_FILTER_GROUP_ANY |  |

### enum filter_threading_t

`filter_threading_t` is deprecated and should not be used in newly-written code.

#### Members

E_FILTER_THREAD_NONE |  |
E_FILTER_THREAD_ALL |  |
E_FILTER_THREAD_REPLIES |  |
E_FILTER_THREAD_REPLIES_PARENTS |  |
E_FILTER_THREAD_SINGLE |  |

### E_FILTER_SOURCE_INCOMING

    #define E_FILTER_SOURCE_INCOMING "incoming" /* performed on incoming email */

`E_FILTER_SOURCE_INCOMING` is deprecated and should not be used in newly-written code.

### E_FILTER_SOURCE_DEMAND

    #define E_FILTER_SOURCE_DEMAND   "demand"   /* performed on the selected folder

`E_FILTER_SOURCE_DEMAND` is deprecated and should not be used in newly-written code.

### E_FILTER_SOURCE_OUTGOING

    #define E_FILTER_SOURCE_OUTGOING  "outgoing"/* performed on outgoing mail */

`E_FILTER_SOURCE_OUTGOING` is deprecated and should not be used in newly-written code.

### E_FILTER_SOURCE_JUNKTEST

    #define E_FILTER_SOURCE_JUNKTEST  "junktest"/* check incoming mail for junk */

`E_FILTER_SOURCE_JUNKTEST` is deprecated and should not be used in newly-written code.