Back to index

openldap  2.4.31
LDAPBindRequest.cpp File Reference
#include <ldap.h>
#include "debug.h"
#include "LDAPBindRequest.h"
#include "LDAPException.h"
#include "SaslInteractionHandler.h"
#include "SaslInteraction.h"
#include <cstdlib>
#include <sasl/sasl.h>

Go to the source code of this file.


static int my_sasl_interact (LDAP *l, unsigned flags, void *cbh, void *interact)

Function Documentation

static int my_sasl_interact ( LDAP *  l,
unsigned  flags,
void cbh,
void interact 
) [static]

Definition at line 125 of file LDAPBindRequest.cpp.

    DEBUG(LDAP_DEBUG_TRACE, "LDAPSaslInteractiveBind::my_sasl_interact()" 
            << std::endl );
    std::list<SaslInteraction*> interactions;

    sasl_interact_t *iter = (sasl_interact_t*) interact;
    while ( iter->id != SASL_CB_LIST_END ) {
        SaslInteraction *si = new SaslInteraction(iter);
        interactions.push_back( si );
    return LDAP_SUCCESS;

Here is the caller graph for this function: