Fix bug 3793: segfault when autocompletion asks for master passphrase
[claws.git] / src / addrindex.h
index 825585534054d432d023d26f10f087f5dae0d684..2db902a90f60c4a5c0e5bc581926f9c87c43a640 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2001-2007 Match Grun and the Claws Mail team
+ * Copyright (C) 2001-2012 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
@@ -91,6 +91,11 @@ struct _AddressInterface {
        void (*stopSearch)( void * );
 };
 
+#ifdef G_OS_WIN32
+/* W32 headers define INTERFACE to "struct".  */
+#undef interface
+#endif
+
 typedef struct _AddressDataSource AddressDataSource;
 struct _AddressDataSource {
        AddrItemObject obj;
@@ -174,7 +179,12 @@ gboolean addrindex_load_person_attribute( const gchar *attr,
 
 gboolean addrindex_load_person_ds( gint (*callBackFunc)
                        ( ItemPerson *, AddressDataSource * ) );
-                       
+gchar *addrindex_get_picture_file(const gchar *emailaddr);             
+
+#ifdef USE_LDAP
+GSList *addrindex_get_password_protected_ldap_servers();
+#endif
+
 #endif /* __ADDRINDEX_H__ */
 
 /*