From b292770082677236d9504b3c546c14b6788b4684 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 7 Jul 2000 05:12:03 +0000 Subject: add scope to ELDAPServer, and make port a string. 2000-07-06 Chris Toshok * gui/component/e-ldap-storage.h: add scope to ELDAPServer, and make port a string. * gui/component/e-ldap-storage.c (load_ldap_data): don't load a uri, load all the bits and pieces and build up the uri when creating the folder, according to the openldap url format. (ldap_server_foreach): store out each of the individual uri pieces. (e_ldap_storage_remove_server): free the new fields. (get_string_value): if the text is empty, return the empty string instead of NULL. * gui/component/e-ldap-server-dialog.c (extract_server_info): port is a string now. (fill_in_server_info): port is a string now. svn path=/trunk/; revision=3942 --- addressbook/gui/component/e-ldap-storage.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/component/e-ldap-storage.h') diff --git a/addressbook/gui/component/e-ldap-storage.h b/addressbook/gui/component/e-ldap-storage.h index cf11e9a6fb..d9870ae69f 100644 --- a/addressbook/gui/component/e-ldap-storage.h +++ b/addressbook/gui/component/e-ldap-storage.h @@ -30,9 +30,10 @@ typedef struct { char *name; char *description; char *host; - int port; + char *port; char *rootdn; - char *uri; + char *scope; + char *uri; /* filled in from the above */ } ELDAPServer; void setup_ldap_storage (EvolutionShellComponent *shell_component); -- cgit v1.2.3