/* extended.c - ldbm backend extended routines */
/* $OpenLDAP$ */
/*
- * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
struct exop {
char *oid;
- SLAP_EXTENDED_FN extended;
+ BI_op_extended *extended;
} exop_table[] = {
- { LDAP_EXOP_X_MODIFY_PASSWD, ldbm_back_exop_passwd },
+ { LDAP_EXOP_MODIFY_PASSWD, ldbm_back_exop_passwd },
{ NULL, NULL }
};
Backend *be,
Connection *conn,
Operation *op,
- char *reqoid,
+ const char *reqoid,
struct berval *reqdata,
char **rspoid,
struct berval **rspdata,
LDAPControl *** rspctrls,
- char** text,
- struct berval *** refs
+ const char** text,
+ BerVarray *refs
)
{
int i;
return (exop_table[i].extended)(
be, conn, op,
reqoid, reqdata,
- rspoid, rspdata, rspctrls, text, refs );
+ rspoid, rspdata, rspctrls,
+ text, refs );
}
}
- *text = ch_strdup("not supported within naming context");
+ *text = "not supported within naming context";
return LDAP_OPERATIONS_ERROR;
}