mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Copyright notices have been adjusted per on-file OpenLDAP Contributor Assignment Agreement.
27 lines
553 B
C++
27 lines
553 B
C++
/*
|
|
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
|
|
// $Id: LDAPReferral.cpp,v 1.8 2000/08/31 17:43:49 rhafer Exp $
|
|
|
|
#include <iostream>
|
|
#include "LDAPException.h"
|
|
#include "LDAPReferral.h"
|
|
#include "LDAPRequest.h"
|
|
#include "LDAPUrl.h"
|
|
|
|
LDAPReferral::LDAPReferral() {
|
|
}
|
|
|
|
LDAPReferral::~LDAPReferral(){
|
|
LDAPUrlList::const_iterator i;
|
|
for(i=m_urlList.begin(); i!=m_urlList.end(); i++){
|
|
delete *i;
|
|
}
|
|
}
|
|
|
|
LDAPUrl* LDAPReferral::getURL(){
|
|
return m_urlList.front();
|
|
}
|
|
|