aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/e-ldap-server-dialog.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-07-06 04:07:46 +0800
committerChris Toshok <toshok@src.gnome.org>2000-07-06 04:07:46 +0800
commit2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8 (patch)
treea5f1c34e58dee9beb85aedf093422cf1d4c716c5 /addressbook/gui/component/e-ldap-server-dialog.h
parentbc4c507c9ef59d92272fccef9cda4994ce507e0a (diff)
downloadgsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar
gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.gz
gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.bz2
gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.lz
gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.xz
gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.zst
gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.zip
call e_ldap_storage_add_server call.
2000-07-05 Chris Toshok <toshok@helixcode.com> * 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
Diffstat (limited to 'addressbook/gui/component/e-ldap-server-dialog.h')
-rw-r--r--addressbook/gui/component/e-ldap-server-dialog.h7
1 files changed, 1 insertions, 6 deletions
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);