X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Faddrharvest.h;h=b7d96f60f73f8a55bf3bf490eea4afe12e9b4fe9;hp=ff639a1838a66f2c57bb4afa01d1c62b517d448b;hb=11b84add9a013b480476c2a307704becefa83ab6;hpb=98f1c1e7ef2a5a2a6a497fef2a82f99dcd3c5d00 diff --git a/src/addrharvest.h b/src/addrharvest.h index ff639a183..b7d96f60f 100644 --- a/src/addrharvest.h +++ b/src/addrharvest.h @@ -1,10 +1,10 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 2002 Match Grun + * Copyright (C) 2002-2011 Match Grun and the Claws Mail 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 + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -13,8 +13,8 @@ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * along with this program. If not, see . + * */ /* @@ -44,8 +44,17 @@ struct _AddressHarvester { GHashTable *dupTable; gint folderSize; gint retVal; + gboolean folderRecurse; }; +#ifdef USE_NEW_ADDRBOOK +typedef struct { + gchar* first_name; + gchar* last_name; + gchar* email; +} ContactEntry; +#endif + /* Function prototypes */ AddressHarvester *addrharvest_create ( void ); void addrharvest_free ( AddressHarvester *harvester ); @@ -56,12 +65,13 @@ void addrharvest_set_folder_size ( AddressHarvester* harvester, void addrharvest_set_header ( AddressHarvester* harvester, const gchar *name, const gboolean value ); +void addrharvest_set_recurse ( AddressHarvester* harvester, + const gboolean value ); gint addrharvest_get_count ( AddressHarvester* harvester, const gchar *name ); -void addrharvest_print ( AddressHarvester *harvester, - FILE *stream ); gint addrharvest_harvest ( AddressHarvester *harvester, - AddressCache *cache ); + AddressCache *cache, + GList *msgList ); gboolean addrharvest_check_header ( AddressHarvester *harvester ); #endif /* __ADDRHARVEST_H__ */