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

Re: LDAP_DEPRECATED in OPENLDAP_REL_ENG_2_2



Kurt D. Zeilenga writes:
>At 06:01 PM 12/17/2003, Kurt D. Zeilenga wrote:
>>At 10:24 AM 12/17/2003, Hallvard B Furuseth wrote:
>>>Why are perfectly good functions like ldap_add() 
>>
>> Note that ldap_(add,modify,...)_s() interfaces are
>> not **perfectly good** functions.  There use tends to
>> lead to bad error handling.
> 
> Guess I should add that ldap_*_ext*() interfaces are
> not **perfectly good** functions.

Well, yes, I meant perfectly good compared to the _ext()
functions, since they just are wrappers around those.

> The API, for the
> most part, sucks and likely should be completely
> deprecated in favor of a completely redesigned API.
> But since no one seems to have time for that, guess
> we just make do with what we have.

Yup.

> I've changed the LDAP_DECRECATED behavior.  It
> hides the deprecated routines when set to 0,
> exposes them when set to 1.  The RE22 defaults
> to 1.

OK, but you'll have to default it to 0 for a while sooner
or later if you want real discussion about it...

-- 
Hallvard