LDAPControl **cctrls,
int *msgidp )
{
+#ifdef LDAP_EXOP_X_TURN
BerElement *turnvalber = NULL;
struct berval *turnvalp = NULL;
int rc;
turnvalp, sctrls, cctrls, msgidp );
ber_free( turnvalber, 1 );
return rc;
+#else
+ return LDAP_CONTROL_NOT_FOUND;
+#endif
}
int
LDAPControl **sctrls,
LDAPControl **cctrls )
{
+#ifdef LDAP_EXOP_X_TURN
BerElement *turnvalber = NULL;
struct berval *turnvalp = NULL;
int rc;
turnvalp, sctrls, cctrls, NULL, NULL );
ber_free( turnvalber, 1 );
return rc;
+#else
+ return LDAP_CONTROL_NOT_FOUND;
+#endif
}