#include "slap.h"
-static char *v2ref( BVarray ref, const char *text )
+static char *v2ref( BerVarray ref, const char *text )
{
size_t len = 0, i = 0;
char *v2;
ber_int_t err,
const char *matched,
const char *text,
- BVarray ref,
+ BerVarray ref,
const char *resoid,
struct berval *resdata,
struct berval *sasldata,
int rc;
long bytes;
- if (op->o_response) {
- op->o_response( conn, op, tag, msgid, err, matched,
+ if (op->o_callback && op->o_callback->sc_response) {
+ op->o_callback->sc_response( conn, op, tag, msgid, err, matched,
text, ref, resoid, resdata, sasldata, ctrls );
return;
}
ber_int_t err,
const char *matched,
const char *text,
- BVarray ref,
+ BerVarray ref,
LDAPControl **ctrls
)
{
ber_int_t err,
const char *matched,
const char *text,
- BVarray ref,
+ BerVarray ref,
LDAPControl **ctrls,
struct berval *cred
)
ber_int_t err,
const char *matched,
const char *text,
- BVarray refs,
+ BerVarray refs,
const char *rspoid,
struct berval *rspdata,
LDAPControl **ctrls
ber_int_t err,
const char *matched,
const char *text,
- BVarray refs,
+ BerVarray refs,
LDAPControl **ctrls,
int nentries
)
assert( !LDAP_API_ERROR( err ) );
- if (op->o_sresult) {
- op->o_sresult(conn, op, err, matched, text, refs,
+ if (op->o_callback && op->o_callback->sc_sresult) {
+ op->o_callback->sc_sresult(conn, op, err, matched, text, refs,
ctrls, nentries);
return;
}
AttributeDescription *ad_entry = slap_schema.si_ad_entry;
+ if (op->o_callback && op->o_callback->sc_sendentry) {
+ return op->o_callback->sc_sendentry( be, conn, op, e, attrs,
+ attrsonly, ctrls );
+ }
+
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_ENTRY,
"send_search_entry: conn %d dn=\"%s\"%s\n",
Connection *conn,
Operation *op,
Entry *e,
- BVarray refs,
+ BerVarray refs,
LDAPControl **ctrls,
- BVarray *v2refs
+ BerVarray *v2refs
)
{
char berbuf[256];