]> git.sur5r.net Git - openldap/blobdiff - include/ldap.h
Added lber_get/set_option. Removed lber_debug/ldap_debug.
[openldap] / include / ldap.h
index cf04a6e7ab4df0593fbac32e1a9187c70a97e874..ce9a1941f902f6c433757ee64d5a5cecf92d5f6e 100644 (file)
@@ -85,6 +85,9 @@ LDAP_BEGIN_DECL
 /*     for LDAPv2 compatibility */
 #define LDAP_OPT_DNS                           0x1001  /* use DN & DNS */
 
+/* OpenLDAP specific options */
+#define LDAP_OPT_DEBUG_LEVEL           0x4001  /* OpenLDAP - debug level */
+
 /* on/off values */
 #define LDAP_OPT_ON            ((void *) 1)
 #define LDAP_OPT_OFF   ((void *) 0)
@@ -92,10 +95,6 @@ LDAP_BEGIN_DECL
 #define LDAP_OPT_SUCCESS       0
 #define        LDAP_OPT_ERROR          (-1)
 
-#ifdef LDAP_DEBUG
-extern int ldap_debug;
-#endif
-
 #define LDAP_API_INFO_VERSION  1
 typedef struct ldapapiinfo {
        int             ldapai_info_version;            /* version of LDAPAPIInfo (1) */