Enable address search.
[claws.git] / src / addressbook.h
index 7e6d9c1fd83e999dffe7bb7ca723ae894d5c597c..85208eec0f32bb251dbd6994e7460b3e034a27a6 100644 (file)
 #include "addrquery.h"
 #include "addritem.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_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_add_contact       ( const gchar *name,
+                                         const gchar *address,
+                                         const gchar *remarks );
 
 void addressbook_gather                        ( FolderItem *folderItem,
                                          gboolean sourceInd,
                                          GList *msgList );
-void addressbook_harvest               (FolderItem     *folderItem,
-                                        gboolean sourceInd,
-                                        GList *msgList);
+void addressbook_harvest               ( FolderItem *folderItem,
+                                         gboolean sourceInd,
+                                         GList *msgList);
 
 gint addressbook_setup_search          ( const gchar *searchTerm,
                                          const gpointer target,
@@ -56,5 +56,7 @@ void addressbook_stop_search          ( const gint queryID );
 void addressbook_read_all              ( void );
 GList *addressbook_quick_search_list   ( const gchar *searchTerm );
 ItemEMail *addressbook_quick_search_single( const gchar *searchTerm );
+gchar *addressbook_lookup_name         ( const gchar *address );
 
 #endif /* __ADDRESSBOOK_H__ */
+