Le Lun 12 mars 2007 06:37, Pierangelo Masarati a écrit :
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.
OK. You'll find a new version here:
ftp://ftp.openldap.org/incoming/raphael-ouazana-070313.patch
It takes care of your notices.
Regards, Raphael Ouazana.