]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/controls.c
Improved ldap_int_strtok. If strtok_r does not exists, it will be worked
[openldap] / libraries / libldap / controls.c
index c00836e35e600c3b439c122fa816bb16691e0e1f..134e5c963c9a0fa1cc918a59d8a5b13b3d394ffb 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 /*
  * LDAP controls
  */
@@ -140,3 +144,9 @@ LDAPControl *ldap_control_dup( LDAPControl *c )
        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;
+}