ldapsdk  0.0.1
LDAPRebind.h
Go to the documentation of this file.
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6 
7 #ifndef LDAP_REBIND_H
8 #define LDAP_REBIND_H
9 
10 #include <string>
11 #include <LDAPRebindAuth.h>
12 
20 class LDAPRebind{
21  public:
22  virtual ~LDAPRebind() {}
23  virtual LDAPRebindAuth* getRebindAuth(const std::string& hostname,
24  int port) const = 0;
25 };
26 #endif //LDAP_REBIND_H
27