API Prototype Changes

For many of the LDAP APIs, the prototype has changed. On many of the API prototypes where a "char *" is used, the prototype has changed to use a "const char *". This is the result of changes to the standards. The IBM® i operating system is providing a way to transition to the new prototypes. Inserting

#define _QGLDNOCONST

in applications code prior to the include of ldap.h causes the definition of the old prototypes that use "char *" to be made available. If _QGLDNOCONST, which is the default, is not defined, the definition of the new prototypes that use "const char *" is made available.

In some future release, the use of _QGLDNOCONST will be withdrawn.



[ Back to top | Directory Server APIs | APIs by category ]