summaryrefslogtreecommitdiffstats
path: root/kioslave/ldap/kio_ldap.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
commitde7e5867a65e0a46f1388e3e50bc7eeddd1aecbf (patch)
treedbb3152c372f8620f9290137d461f3d9f9eba1cb /kioslave/ldap/kio_ldap.h
parent936d3cec490c13f2c5f7dd14f5e364fddaa6da71 (diff)
downloadtdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.tar.gz
tdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kioslave/ldap/kio_ldap.h')
-rw-r--r--kioslave/ldap/kio_ldap.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/kioslave/ldap/kio_ldap.h b/kioslave/ldap/kio_ldap.h
deleted file mode 100644
index 4ee15ad2b..000000000
--- a/kioslave/ldap/kio_ldap.h
+++ /dev/null
@@ -1,65 +0,0 @@
-#ifndef __LDAP_H__
-#define __LDAP_H__
-
-#include <tqstring.h>
-#include <tqvaluelist.h>
-
-#include <kio/slavebase.h>
-#include <kio/authinfo.h>
-
-#define LDAP_DEPRECATED 1 /* Needed for ldap_simple_bind_s with openldap >= 2.3.x */
-#include <lber.h>
-#include <ldap.h>
-#include <kabc/ldapurl.h>
-
-class LDAPProtocol : public TDEIO::SlaveBase
-{
- public:
- LDAPProtocol( const TQCString &protocol, const TQCString &pool, const TQCString &app );
- virtual ~LDAPProtocol();
-
- virtual void setHost( const TQString& host, int port,
- const TQString& user, const TQString& pass );
-
- virtual void openConnection();
- virtual void closeConnection();
-
- virtual void get( const KURL& url );
- virtual void stat( const KURL& url );
- virtual void listDir( const KURL& url );
- virtual void del( const KURL& url, bool isfile );
- virtual void put( const KURL& url, int permissions, bool overwrite, bool resume );
-
- int saslInteract( void *in );
-
- private:
-
- TQString mHost;
- int mPort;
- TQString mUser;
- TQString mPassword;
- LDAP *mLDAP;
- int mVer, mSizeLimit, mTimeLimit;
- bool mTLS;
- bool mAuthSASL;
- TQString mMech,mRealm,mBindName;
- bool mCancel, mFirstAuth;
-
- void controlsFromMetaData( LDAPControl ***serverctrls,
- LDAPControl ***clientctrls );
- void addControlOp( LDAPControl ***pctrls, const TQString &oid,
- const TQByteArray &value, bool critical );
- void addModOp( LDAPMod ***pmods, int mod_type,
- const TQString &attr, const TQByteArray &value );
- void LDAPEntry2UDSEntry( const TQString &dn, TDEIO::UDSEntry &entry,
- const KABC::LDAPUrl &usrc, bool dir=false );
- int asyncSearch( KABC::LDAPUrl &usrc );
-
- TQCString LDAPEntryAsLDIF( LDAPMessage *msg );
- void LDAPErr( const KURL &url, int err = LDAP_SUCCESS );
- void changeCheck( KABC::LDAPUrl &url );
-
- void fillAuthInfo( TDEIO::AuthInfo &info );
-};
-
-#endif