#define LDAP_OTHER 0x50
/* Experimental result codes */
-#define LDAP_X_ERROR(n) LDAP_RANGE((n),0x1000,0x3FFF) /* experimental */
-#define LDAP_PVT_ERROR(n) LDAP_RANGE((n),0x4000,0xFFFF) /* private use */
+#define LDAP_E_ERROR(n) LDAP_RANGE((n),0x1000,0x3FFF) /* experimental */
+#define LDAP_X_ERROR(n) LDAP_RANGE((n),0x4000,0xFFFF) /* private use */
/* for the LDAP Sync operation */
#define LDAP_SYNC_REFRESH_REQUIRED 0x4100
LDAPControl **serverctrls,
LDAPControl **clientctrls ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_abandon LDAP_P(( /* deprecated */
LDAP *ld,
LDAPControl **serverctrls,
LDAPControl **clientctrls ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_add LDAP_P(( /* deprecated */
LDAP *ld,
struct berval **servercredp,
int freeit ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
/*
* in bind.c:
* (deprecated)
LDAPControl **serverctrls,
LDAPControl **clientctrls ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_compare LDAP_P(( /* deprecated */
LDAP *ld,
LDAPControl **serverctrls,
LDAPControl **clientctrls ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_delete LDAP_P(( /* deprecated */
LDAP *ld,
ldap_err2string LDAP_P((
int err ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_result2error LDAP_P(( /* deprecated */
LDAP *ld,
LDAPControl **serverctrls,
LDAPControl **clientctrls ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_modify LDAP_P(( /* deprecated */
LDAP *ld,
LDAPControl **sctrls,
LDAPControl **cctrls ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_rename2 LDAP_P(( /* deprecated */
LDAP *ld,
/*
* in open.c:
*/
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( LDAP * )
ldap_init LDAP_P(( /* deprecated */
LDAP_CONST char *host,
ldap_value_free_len LDAP_P((
struct berval **vals ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( char ** )
ldap_get_values LDAP_P(( /* deprecated */
LDAP *ld,
int sizelimit,
LDAPMessage **res ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_search LDAP_P(( /* deprecated */
LDAP *ld,
LDAPControl **serverctrls,
LDAPControl **clientctrls));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
LDAP_F( int )
ldap_unbind LDAP_P(( /* deprecated */
LDAP *ld ));
int freemods ));
-#ifdef LDAP_DEPRECATED
+#if LDAP_DEPRECATED
/*
* in sort.c (deprecated)
*/