#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.
typedef CtrlList::const_iterator const_iterator;
public :
/**
- * Constructs an empty list
+ * Constructs an empty std::list
*/
LDAPControlSet();
* LDAPControl-structures as needed by the C-API
*/
LDAPControl** toLDAPControlArray()const ;
-
+ static void freeLDAPControlArray(LDAPControl **ctrl);
private :
CtrlList data;
} ;