+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
/*
* LDAP controls
*/
#include "portable.h"
+#include <stdlib.h>
+
#include <ac/time.h>
#include <ac/string.h>
}
if( c->ldctl_oid != NULL ) {
- new->ldctl_oid = ldap_strdup( c->ldctl_oid );
+ new->ldctl_oid = strdup( c->ldctl_oid );
if(new->ldctl_oid == NULL) {
free( new );
new->ldctl_iscritical = c->ldctl_iscritical;
return new;
}
+
+/* get the controls from the BerElement */
+int ldap_get_ber_controls( BerElement *be, LDAPControl ***cp)
+{
+ return LDAP_NOT_SUPPORTED;
+}