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

struct ldap

Sorry about a silly question, if this is the case, but I have problems
with compiling code that uses ldap structure -- it worked in older
versions, but in 2.0.x compilator gives an error that struct ldap is
undefined and there is a forward declaration 'typedef struct ldap LDAP'
in ldap.h in include directory. The installed incude files are installed
into /usr/local/include and if I 'grep "struct ldap"
/usr/local/include/*' I only get the typedef line in ldap.h.

I looked also into openldap source directories and found a header
ldap-int.h where it is defined.

Is that a bug that ldap structure is undefined in public headers or is
it intentional? Any idea?

Asko Seeba