updated bug fix info and version for week 06, 2009 first build
[modest] / src / modest-address-book.h
index 9231f96..418b323 100644 (file)
@@ -54,5 +54,30 @@ modest_address_book_add_address (const gchar *address);
 void
 modest_address_book_select_addresses (ModestRecptEditor *editor);
 
+/**
+ * modest_address_book_check_names:
+ * @editor: a #ModestRecptEditor
+ * @update_addressbook: if TRUE, add valid addresses to the addressbook, recent list
+ * 
+ * Performs verification of addresses in a recipient editor.
+ *
+ * Returns: %TRUE if all recipients are valid or there are
+ * no recipients, %FALSE otherwise.
+ */
+gboolean
+modest_address_book_check_names (ModestRecptEditor *editor, gboolean update_addressbook);
+
+/**
+ * modest_address_book_has_address:
+ * @address: a string
+ *
+ * Checks if an address is already stored in addressbook.
+ *
+ * Returns: %TRUE is @address is in addressbook. %FALSE otherwise.
+ */
+gboolean
+modest_address_book_has_address (const gchar *address);
+
+
 
 #endif /* __MODEST_ADDRESS_BOOK_H__ */