From 2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 5 Jul 2000 20:07:46 +0000 Subject: call e_ldap_storage_add_server call. 2000-07-05 Chris Toshok * gui/component/addressbook.c (new_server_cb): call e_ldap_storage_add_server call. * gui/component/ldap-server-dialog.glade: add name row. * gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type. * gui/component/e-ldap-server-dialog.c (extract_server_info): add support for the name-entry. * gui/component/e-ldap-server-dialog.c (fill_in_server_info): same. * gui/component/e-ldap-storage.h: add ELDAPServer type, and add prototypes for e_ldap_storage_add_server and e_ldap_storage_remove_server. * gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new function, add it to our hash table, add a shell folder, and save out the metadata. (ldap_server_foreach): add the ldap server info under a "contactserver" node. (setup_ldap_storage): create our hashtable. svn path=/trunk/; revision=3895 --- addressbook/gui/component/e-ldap-server-dialog.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'addressbook/gui/component/e-ldap-server-dialog.h') diff --git a/addressbook/gui/component/e-ldap-server-dialog.h b/addressbook/gui/component/e-ldap-server-dialog.h index f0e73d1ebc..e5ae169f5c 100644 --- a/addressbook/gui/component/e-ldap-server-dialog.h +++ b/addressbook/gui/component/e-ldap-server-dialog.h @@ -2,12 +2,7 @@ #ifndef __E_LDAP_SERVER_DIALOG_H__ #define __E_LDAP_SERVER_DIALOG_H__ -typedef struct { - char *description; - char *host; - int port; - char *rootdn; -} ELDAPServer; +#include "e-ldap-storage.h" void e_ldap_server_editor_show(ELDAPServer *server); -- cgit v1.2.3