[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: dnParent()



Pierangelo Masarati wrote:
> 
> Luke Howard wrote:
> >
> > Is there any reason why dnParent() is declared non-static but has
> > no prototype in proto-slap.h? This function would be useful for
> > our NetInfo backend.
> 
> I think the only possible reason is some recent hurry
> in working with dn stuff :) I'll fix it in a moment.

Howard, I'd like to replace all the occurrences of dn_parent,
a lot of which are in back-bdb, with a more efficient function
(which is dnParent in an enhanced form). Can I safely assume
that bdb_dn2id*() is always invoked with a NORMALIZED dn
(e.g. coming out of dnNormalize or related function)?

Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 |
mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati