/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2005-2006 The OpenLDAP Foundation.
+ * Copyright 2005-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
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
}