[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4860) Sets' enhancement
raphael.ouazana@linagora.com wrote:
> Fixing these issues, I saw that set_parent will be very similar to
> set_chase. Do you think I should create a new gatherer instead of ?
I don't see so much similarity: set_chase() is intended to use the
gatherer to fetch objects and extract a value from them, including
"closure" (recursion). Sublevel does not require fetching, and takes a
negative digit as extra argument, rather than an attribute type, so
you'd need to add an outer test before calling set_chase() anyway,
extend the interface of set_chase() to allow an AttributeDescription and
an integer, and so on, while you don't need any callback capability to
fetch an object or expand values or so. I'd keep it simple as it is now.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------