aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/pas-backend-ldap.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-02-18 11:24:33 +0800
committerChris Toshok <toshok@src.gnome.org>2001-02-18 11:24:33 +0800
commite6d81792c4c7950a5a897211ace6590d4ad458f6 (patch)
tree8e6419caba5dbda8c71fc24177218f23491f1679 /addressbook/backend/pas/pas-backend-ldap.c
parentec5d0a0fab3c33f68efe32decf6a55f0b174a796 (diff)
downloadgsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.tar.gz
gsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.tar.zst
gsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.zip
add sequence<string> typedef, and add getSupportedFields method.
2001-02-17 Chris Toshok <toshok@ximian.com> * backend/idl/addressbook.idl: add sequence<string> typedef, and add getSupportedFields method. * backend/pas/pas-book.c (impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): new function. * backend/pas/pas-backend.c (pas_backend_class_init): init get_supported_fields = NULL. (pas_backend_get_supported_fields): new function. * backend/pas/pas-backend.h: add prototype for pas_backend_get_supported_fields. * backend/pas/pas-backend-file.c (pas_backend_file_get_supported_fields): new function. (pas_backend_file_class_init): fill in get_supported_fields. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_get_supported_fields): new function. (pas_backend_ldap_class_init): fill in get_supported_fields. svn path=/trunk/; revision=8270
Diffstat (limited to 'addressbook/backend/pas/pas-backend-ldap.c')
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index 9ac3a9f457..60e3aa0c88 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -2215,6 +2215,15 @@ pas_backend_ldap_get_static_capabilites (PASBackend *backend)
return g_strdup("net");
}
+static int
+pas_backend_ldap_get_supported_fields (PASBackend *backend,
+ char ***fields)
+{
+ printf ("in pas_backend_ldap_get_supported_fields\n");
+ *fields = NULL;
+ return 0;
+}
+
static gboolean
pas_backend_ldap_construct (PASBackendLDAP *backend)
{
@@ -2283,6 +2292,7 @@ pas_backend_ldap_class_init (PASBackendLDAPClass *klass)
parent_class->add_client = pas_backend_ldap_add_client;
parent_class->remove_client = pas_backend_ldap_remove_client;
parent_class->get_static_capabilities = pas_backend_ldap_get_static_capabilites;
+ parent_class->get_supported_fields = pas_backend_ldap_get_supported_fields;
object_class->destroy = pas_backend_ldap_destroy;
}