]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPControlSet.h
Entry rwlock is no longer needed as concurrency is managed
[openldap] / contrib / ldapc++ / src / LDAPControlSet.h
index 081c5373dd0e488c338bc40519091526b30e9caa..82b4649e29deddae48025effa05b15a0ad198b7d 100644 (file)
@@ -10,7 +10,7 @@
 #include <ldap.h>
 #include <LDAPControl.h>
 
-typedef list<LDAPCtrl> CtrlList;
+typedef std::list<LDAPCtrl> CtrlList;
 
 /**
  * This container class is used to store multiple LDAPCtrl-objects.
@@ -19,7 +19,7 @@ class LDAPControlSet {
     typedef CtrlList::const_iterator const_iterator;
     public :
         /**
-         * Constructs an empty list
+         * Constructs an empty std::list
          */
         LDAPControlSet();   
 
@@ -81,7 +81,7 @@ class LDAPControlSet {
          * LDAPControl-structures as needed by the C-API
          */
         LDAPControl** toLDAPControlArray()const ;
-
+       static void freeLDAPControlArray(LDAPControl **ctrl);
     private :
         CtrlList data;
 } ;