Main Page | Modules | Namespace List | Data Structures | File List | Data Fields | Globals | Related Pages

LDAP
[APR Utility Functions]


Defines

#define APR_HAS_LDAP   1
#define APR_HAS_OPENLDAP_LDAPSDK   1
#define APR_HAS_LDAP_SSL   1
#define APR_HAS_LDAP_URL_PARSE   1
#define APU_HAS_LDAP
#define APR_LDAP_UNCONST(conststr)   ((char *)(conststr))
#define const_cast(conststr)   APR_LDAP_UNCONST(conststr)
#define LDAP_URL_ERR_NOTLDAP   LDAP_URL_ERR_BADSCHEME
#define LDAP_URL_ERR_NODN   LDAP_URL_ERR_BADURL

Define Documentation

#define APR_LDAP_UNCONST conststr   )     ((char *)(conststr))
 

Cast away constness to compile cleanly against v2 and MS LDAP SDKs

Parameters:
conststr The value to un-constify on older LDAP SDKs

#define const_cast conststr   )     APR_LDAP_UNCONST(conststr)
 

Cast away constness to compile against v2 and MS LDAP SDKs

Parameters:
conststr The value to un-constify on older LDAP SDKs

Bug:
The apr_ldap.h macro const_cast violated three rules; it was a C++ reserved keyword, it violated the uppercase-only style guideline for apr macros, and it was not namespace protected. It exists here soley to avoid breaking legacy sources using APR 0.9.
Deprecated:
See also:
APR_LDAP_UNCONST


Generated on Thu Jul 6 18:20:56 2006 for Apache Portable Runtime Utility Library by  doxygen 1.3.9.1