mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
27 lines
708 B
C++
27 lines
708 B
C++
// $OpenLDAP$
|
|
/*
|
|
* Copyright 2007, OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
|
|
#ifndef SASL_INTERACTION_HANDLER_H
|
|
#define SASL_INTERACTION_HANDLER_H
|
|
#include <list>
|
|
|
|
class SaslInteraction;
|
|
|
|
class SaslInteractionHandler {
|
|
public:
|
|
virtual void handleInteractions( const std::list<SaslInteraction*> &cb )=0;
|
|
virtual ~SaslInteractionHandler() {}
|
|
};
|
|
|
|
class DefaultSaslInteractionHandler {
|
|
public:
|
|
virtual void handleInteractions( const std::list<SaslInteraction*> &cb );
|
|
virtual ~DefaultSaslInteractionHandler();
|
|
|
|
private:
|
|
std::list<SaslInteraction*> cleanupList;
|
|
};
|
|
#endif /* SASL_INTERACTION_HANDLER_H */
|