aboutsummaryrefslogtreecommitdiff
path: root/src/addressbook.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-04-12 05:55:03 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-04-12 05:55:03 +0000
commitcf6873b653ee8fdc2b4c86167d2af499d35489da (patch)
treeabf54a4cb659127915cca47b0573270192034aac /src/addressbook.h
parent1f25de69bdd24951e4e1952319d6fa305cc22794 (diff)
also use first and last name for address completion.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3039 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/addressbook.h')
-rw-r--r--src/addressbook.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/addressbook.h b/src/addressbook.h
index b1c61026..ee0b7446 100644
--- a/src/addressbook.h
+++ b/src/addressbook.h
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999,2000 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2012 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
@@ -25,6 +25,8 @@
#include "compose.h"
+typedef gint (*AddressBookCompletionFunc) (const gchar *name, const gchar *firstname, const gchar *lastname, const gchar *nickname, const gchar *address);
+
void addressbook_open (Compose *target);
void addressbook_set_target_compose (Compose *target);
Compose *addressbook_get_target_compose (void);
@@ -47,6 +49,8 @@ gboolean addressbook_add_contact_autoreg(const gchar *name,
const gchar *address,
const gchar *remarks);
+gboolean addressbook_load_completion_full
+ (AddressBookCompletionFunc func);
gboolean addressbook_load_completion ( gint (*callBackFunc) ( const gchar *, const gchar *, const gchar * ) );
gboolean addressbook_has_address (const gchar *address);