KLDAP Library
21 #include "ldapcontrol.h"
24 #include <QtCore/QSharedData>
26 using namespace KLDAP;
28 class LdapControl::Private :
public QSharedData
35 Private(
const Private &other )
36 : QSharedData( other )
39 mValue = other.mValue;
40 mCritical = other.mCritical;
63 setControl( that.d->mOid, that.d->mValue, that.d->mCritical );
68 if (
this != &that ) {
72 setControl( that.d->mOid, that.d->mValue, that.d->mCritical );
120 if ( d->mOid !=
"1.2.840.113556.1.4.319" ) {
124 Ber ber( d->mValue );
126 if ( ber.scanf(
"{iO}", &size, &cookie ) == -1 ) {
138 ber.
printf(
"{iO}", pagesize, &cookie );
139 control.
setOid(
"1.2.840.113556.1.4.319" );
146 LdapControls::iterator it;
147 LdapControls::iterator endit = list.end();
148 const QString
oid = ctrl.
oid();
150 for ( it = list.begin(); it != endit; ++it ) {
151 if ( it->oid() ==
oid ) {
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jan 5 2013 19:45:48 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.