On Dec 1, 2007 12:22 PM, Graham Leggett <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > >> Supporting a certificate label isn't something easily done within the > >> current API, and the API cannot be changed until APR v2. > > > > Solvable via apr_foo_ex() in apr 1.3, right? > > The problem is that the Tivoli API wants the label in the call wrapped > by apr_ldap_init(), and apr_ldap_init() doesn't have an option to > specify a label. > > There needs to be a new apr_ldap_init function, possibly like this: > > APU_DECLARE(int) apr_ldap_init(apr_pool_t *pool, > LDAP **ldap, > const char *hostname, > int portno, > int secure, > const char *label, > apr_ldap_err_t **result_err)
An alternative scheme might introduce some type of apr_ldap_t that could drag along references to this kind of information between calls. -- Eric Covener [EMAIL PROTECTED]
