2012-04-01 [colin] 3.8.0cvs36
[claws.git] / src / addrharvest.h
index 655802ada8dcd2115eacd52484ee3c04f45a662b..b7d96f60f73f8a55bf3bf490eea4afe12e9b4fe9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2002-2007 Match Grun and the Claws Mail team
+ * 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
  *
  * 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,
  * (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
  * 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.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * 
  */
 
 /*
  */
 
 /*
@@ -47,6 +47,14 @@ struct _AddressHarvester {
        gboolean   folderRecurse;
 };
 
        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 );
 /* Function prototypes */
 AddressHarvester *addrharvest_create   ( void );
 void addrharvest_free                  ( AddressHarvester *harvester );
@@ -61,8 +69,6 @@ void addrharvest_set_recurse          ( AddressHarvester* harvester,
                                          const gboolean value );
 gint addrharvest_get_count             ( AddressHarvester* harvester,
                                          const gchar *name );
                                          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,
                                          GList *msgList );
 gint addrharvest_harvest               ( AddressHarvester *harvester,
                                          AddressCache *cache,
                                          GList *msgList );