5a4b92f4d0
* src/account.c * src/filtering.c * src/filtering.h * src/folder.c * src/folderview.c * src/inc.c * src/mainwindow.c * src/matcher.c * src/matcher_parser_lex.l * src/matcher_parser_parse.y * src/mbox.c * src/prefs_filtering.c * src/prefs_filtering.h * src/procmsg.c * src/procmsg.h * src/summaryview.c introduce per-account filtering rules. Each filtering rule can now be assigned to a specific account (by default it's "All"), works w/ POP3/IMAP. Take care when applying filtering rules manually, as all rules will apply - even the ones assigned to an account. This issue will be addressed soon.
52 lines
1.5 KiB
C
52 lines
1.5 KiB
C
/*
|
|
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
|
|
* Copyright (C) 1999-2006 Hiroyuki Yamamoto
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef __PREFS_FILTERING_H__
|
|
#define __PREFS_FILTERING_H__
|
|
|
|
#include <glib.h>
|
|
|
|
/*
|
|
void prefs_scoring_read_config (void);
|
|
void prefs_scoring_write_config (void);
|
|
*/
|
|
|
|
typedef enum
|
|
{
|
|
FILTER_BY_NONE,
|
|
FILTER_BY_AUTO,
|
|
FILTER_BY_FROM,
|
|
FILTER_BY_TO,
|
|
FILTER_BY_SUBJECT
|
|
} PrefsFilterType;
|
|
|
|
#include "folder.h"
|
|
|
|
void prefs_filtering_open(GSList ** p_processing,
|
|
const gchar *title,
|
|
const gchar *help_url_anchor,
|
|
const gchar *header,
|
|
const gchar *key,
|
|
gboolean per_account_filtering);
|
|
|
|
void prefs_filtering_rename_path (const gchar *old_path,
|
|
const gchar *new_path);
|
|
void prefs_filtering_delete_path (const gchar *path);
|
|
|
|
#endif /* __PREFS_FILTERING_H__ */
|