diff options
author | Chris Toshok <toshok@ximian.com> | 2001-12-07 04:01:48 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-12-07 04:01:48 +0800 |
commit | 1c0e0acdad02bca78628dc6902f95aabcc9b8f8c (patch) | |
tree | cfaafcc7adf954cc1133fb359b94837eafdd5d1f /widgets | |
parent | 99057deafb9038dd1f5cfc984b61a2ba3d99a99b (diff) | |
download | gsoc2013-evolution-1c0e0acdad02bca78628dc6902f95aabcc9b8f8c.tar gsoc2013-evolution-1c0e0acdad02bca78628dc6902f95aabcc9b8f8c.tar.gz gsoc2013-evolution-1c0e0acdad02bca78628dc6902f95aabcc9b8f8c.tar.bz2 gsoc2013-evolution-1c0e0acdad02bca78628dc6902f95aabcc9b8f8c.tar.lz gsoc2013-evolution-1c0e0acdad02bca78628dc6902f95aabcc9b8f8c.tar.xz gsoc2013-evolution-1c0e0acdad02bca78628dc6902f95aabcc9b8f8c.tar.zst gsoc2013-evolution-1c0e0acdad02bca78628dc6902f95aabcc9b8f8c.zip |
move search_for_dn's contents here, and add an "existing_objectclasses"
2001-12-05 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c
(search_for_dn_with_objectclasses): move search_for_dn's contents
here, and add an "existing_objectclasses" parameter that we pass
on to build_card_from_entry.
(search_for_dn): call search_for_dn_with_objectclasses with NULL
for existing_objectclasses.
(build_card_from_entry): if existing_objectclasses is non-NULL,
fill it in with the list of existing objectclass values for this
entry.
(add_objectclass_mod): if existing_objectclasses is non-NULL,
meaning we're modifying an entry, search in the existing
objectclasses for the ones we want to be there, and only add
what's missing. If none are missing, don't add objectclass_mod to
the list of mods.
(create_card_handler): track change to add_objectclass_mod (pass
NULL).
(modify_card_handler): use search_for_dn_with_objectclasses
instead of search_for_dn, and pass the existing objectclasses to
add_objectclass_mod. also, free the list when we're done.
(poll_ldap): track change to build_card_from_entry (pass NULL).
svn path=/trunk/; revision=14909
Diffstat (limited to 'widgets')
0 files changed, 0 insertions, 0 deletions