openldap/contrib/ldapc++/src/LDAPUrlList.h
Ralf Haferkamp 11fbe2a45c - removed char* in favour of string
- extented Referral chasing (loop detection, hop limit, Rebind)
- support for Server Controls
- fixed many bugs and memory leaks
2000-10-03 18:25:34 +00:00

32 lines
659 B
C++

/*
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#ifndef LDAP_URL_LIST_H
#define LDAP_URL_LIST_H
#include <list>
#include "LDAPUrl.h"
typedef list<LDAPUrl> UrlList;
class LDAPUrlList{
typedef UrlList::const_iterator const_iterator;
public:
LDAPUrlList();
LDAPUrlList(const LDAPUrlList& urls);
LDAPUrlList(char** urls);
~LDAPUrlList();
size_t size() const;
const_iterator begin() const;
const_iterator end() const;
void add(const LDAPUrl& url);
private :
UrlList m_urls;
};
#endif //LDAP_URL_LIST_H