claws-mail/src/addressbook.h
Tristan Chabredier 275ed94169 2006-07-31 [wwp] 2.4.0cvs3
* src/Makefile.am
	* src/addr_compl.c
	* src/addr_compl.h
	* src/addressbook.c
	* src/addressbook.h
	* src/addressbook_foldersel.c
	* src/addressbook_foldersel.h
	* src/addrindex.c
	* src/addrindex.h
	* src/matcher.c
	* src/matcher.h
	* src/matcher_parser_lex.l
	* src/matcher_parser_parse.y
	* src/prefs_common.c
	* src/prefs_common.h
	* src/prefs_filtering.c
	* src/prefs_matcher.c
	* src/prefs_matcher.h
	* src/summaryview.c
		introduce filtering against the address book. It's now possible to add
		matched conditions to determine if any email address in a message matches
		or doesn't match any or all books or folders in the address book.
2006-07-31 12:03:02 +00:00

64 lines
2.1 KiB
C

/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
* Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws team
*
* 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 __ADDRESSBOOK_H__
#define __ADDRESSBOOK_H__
#include <glib.h>
#include <gtk/gtkwidget.h>
#include "compose.h"
#include "addritem.h"
#include "addrindex.h"
void addressbook_open ( Compose *target );
void addressbook_set_target_compose ( Compose *target );
Compose *addressbook_get_target_compose ( void );
void addressbook_read_file ( void );
void addressbook_export_to_file ( void );
gint addressbook_obj_name_compare ( gconstpointer a,
gconstpointer b );
void addressbook_destroy ( void );
gboolean addressbook_add_contact ( const gchar *name,
const gchar *address,
const gchar *remarks );
gboolean addressbook_folder_selection( gchar **folderpath );
gboolean addressbook_peek_folder_exists( gchar *folderpath,
AddressDataSource **book,
ItemFolder **folder );
gboolean addressbook_load_completion (gint (*callBackFunc)
(const gchar *,
const gchar *,
const gchar *));
void addressbook_gather ( FolderItem *folderItem,
gboolean sourceInd,
GList *msgList );
void addressbook_harvest ( FolderItem *folderItem,
gboolean sourceInd,
GList *msgList);
void addressbook_read_all ( void );
#endif /* __ADDRESSBOOK_H__ */