Ian Holsman wrote: > would it be possible to have a apr_ldap_errstr( apr_status_t ) function > which would > convert the numbers into messages?
There is already an apr_strerror() function to do this. Would it not
make sense to somehow have this function include the ldap_err2string()
function for errors in the LDAP range?
How would this be achieved when apr_strerror() is in APR, and the LDAP
stuff is in APR-util?
Could a callback not be introduced to apr_strerror() which allows a
specific function to be called to return string errors for certain
number ranges? The APR-util code would then set this callback function
to point at ldap_err2string()?
Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED] "There's a moon
over Bourbon Street
tonight..."
smime.p7s
Description: S/MIME Cryptographic Signature
