aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/ldap-config.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-04-19 05:26:48 +0800
committerChris Toshok <toshok@src.gnome.org>2002-04-19 05:26:48 +0800
commit9b7cc54d6ff67c83590706ee0b6749a7e1f3ca21 (patch)
tree3738f8f1fb02399157515420ff995ad5a428936f /addressbook/gui/component/ldap-config.h
parent0c7e55e75cc787269ab570588f3873b6279aede1 (diff)
downloadgsoc2013-evolution-9b7cc54d6ff67c83590706ee0b6749a7e1f3ca21.tar
gsoc2013-evolution-9b7cc54d6ff67c83590706ee0b6749a7e1f3ca21.tar.gz
gsoc2013-evolution-9b7cc54d6ff67c83590706ee0b6749a7e1f3ca21.tar.bz2
gsoc2013-evolution-9b7cc54d6ff67c83590706ee0b6749a7e1f3ca21.tar.lz
gsoc2013-evolution-9b7cc54d6ff67c83590706ee0b6749a7e1f3ca21.tar.xz
gsoc2013-evolution-9b7cc54d6ff67c83590706ee0b6749a7e1f3ca21.tar.zst
gsoc2013-evolution-9b7cc54d6ff67c83590706ee0b6749a7e1f3ca21.zip
fix memory leaks.
2002-04-18 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (get_ldap_library_info): fix memory leaks. * gui/component/GNOME_Evolution_Addressbook.oaf.in: remove the Addressbook_ConfigControl stuff to LDAP_ConfigControl. * gui/component/Makefile.am (evolution_addressbook_SOURCES): remove addressbook-config.* and add ldap-config.* (glade_DATA): same. (evolution_addressbook_LDADD): add LDAP_LIBS. * gui/component/addressbook-component.c (owner_set_cb): addressbook_config_register_factory => ldap_config_register_factory. * gui/component/addressbook.c (book_open_cb): remove source->type check - they're always LDAP. (load_uri_cb): same. * gui/component/addressbook-storage.c (ldap_unparse_ssl): new function. (ldap_parse_ssl): new function. (addressbook_storage_init_source_uri): use a more flexible scheme to build up the uri's, and add in the ssl parameter. (load_source_data): fill in source->ssl, and remove source->type assignment. (addressbook_source_copy): copy source->ssl, and remove source->type copy. (create_ldap_folder): addressbook_create_new_source => ldap_config_create_new_source. * gui/component/addressbook-storage.h: remove AddressbookSourceType (it was always LDAP), and add AddressbookLDAPSSLType. svn path=/trunk/; revision=16524
Diffstat (limited to 'addressbook/gui/component/ldap-config.h')
-rw-r--r--addressbook/gui/component/ldap-config.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/addressbook/gui/component/ldap-config.h b/addressbook/gui/component/ldap-config.h
new file mode 100644
index 0000000000..45f538a55d
--- /dev/null
+++ b/addressbook/gui/component/ldap-config.h
@@ -0,0 +1,33 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/* addressbook-storage.h
+ *
+ * Copyright (C) 2000 Ximian, Inc.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Chris Toshok
+ */
+
+#ifndef __LDAP_CONFIG_H__
+#define __LDAP_CONFIG_H__
+
+#include "addressbook-storage.h"
+
+void ldap_config_create_new_source (const char *new_source,
+ GtkWidget *parent);
+
+gboolean ldap_config_register_factory (GNOME_Evolution_Shell shell);
+
+#endif /* __LDAP_CONFIG_H__ */