Back to index

openldap  2.4.31
LDAPRebind.h
Go to the documentation of this file.
00001 // $OpenLDAP$
00002 /*
00003  * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved.
00004  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00005  */
00006 
00007 #ifndef LDAP_REBIND_H
00008 #define LDAP_REBIND_H
00009 
00010 #include <string>
00011 #include <LDAPRebindAuth.h>
00012 
00020 class LDAPRebind{
00021     public:
00022         virtual ~LDAPRebind() {}
00023         virtual LDAPRebindAuth* getRebindAuth(const std::string& hostname, 
00024                 int port) const = 0;
00025 };
00026 #endif //LDAP_REBIND_H
00027