diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-07-07 13:12:03 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-07-07 13:12:03 +0800 |
commit | b292770082677236d9504b3c546c14b6788b4684 (patch) | |
tree | 05965edb9da78ce2947d24c71e2cdce626d9963d /addressbook/gui/component/e-ldap-storage.h | |
parent | bad08008b022dd9b9cbc250de526c7ef115532d7 (diff) | |
download | gsoc2013-evolution-b292770082677236d9504b3c546c14b6788b4684.tar gsoc2013-evolution-b292770082677236d9504b3c546c14b6788b4684.tar.gz gsoc2013-evolution-b292770082677236d9504b3c546c14b6788b4684.tar.bz2 gsoc2013-evolution-b292770082677236d9504b3c546c14b6788b4684.tar.lz gsoc2013-evolution-b292770082677236d9504b3c546c14b6788b4684.tar.xz gsoc2013-evolution-b292770082677236d9504b3c546c14b6788b4684.tar.zst gsoc2013-evolution-b292770082677236d9504b3c546c14b6788b4684.zip |
add scope to ELDAPServer, and make port a string.
2000-07-06 Chris Toshok <toshok@helixcode.com>
* 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
Diffstat (limited to 'addressbook/gui/component/e-ldap-storage.h')
-rw-r--r-- | addressbook/gui/component/e-ldap-storage.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); |