ms->mss_create = ldap_back_monitor_conn_create;
ms->mss_destroy = ldap_back_monitor_subsystem_destroy;
- e = monitor_entry_stub( &ms->mss_dn, &ms->mss_ndn,
+ e = mbe->entry_stub( &ms->mss_dn, &ms->mss_ndn,
&ms->mss_rdn,
mi->mi_oc_monitorContainer, mi, NULL, NULL );
if ( e == NULL ) {
ms->mss_rdn = li->li_monitor_info.lmi_ops_rdn;
ms->mss_destroy = ldap_back_monitor_subsystem_destroy;
- parent = monitor_entry_stub( &ms->mss_dn, &ms->mss_ndn,
+ parent = mbe->entry_stub( &ms->mss_dn, &ms->mss_ndn,
&ms->mss_rdn,
mi->mi_oc_monitorContainer, mi, NULL, NULL );
if ( parent == NULL ) {
monitor_callback_t *cb;
struct ldap_back_monitor_op_counter *counter;
- e = monitor_entry_stub( &parent->e_name, &parent->e_nname,
+ e = mbe->entry_stub( &parent->e_name, &parent->e_nname,
&ldap_back_monitor_op[op].rdn,
mi->mi_oc_monitorCounterObject, mi, NULL, NULL );
if ( e == NULL ) {
monitor_cbfunc *unregister_entry_parent;
monitor_cbafunc *unregister_entry_attrs;
monitor_cbfunc *unregister_entry_callback;
+ Entry * (*entry_stub)( struct berval *pdn,
+ struct berval *pndn,
+ struct berval *rdn,
+ ObjectClass *oc,
+ monitor_info_t *mi,
+ struct berval *create,
+ struct berval *modify );
} monitor_extra_t;
LDAP_END_DECL
monitor_back_unregister_entry,
monitor_back_unregister_entry_parent,
monitor_back_unregister_entry_attrs,
- monitor_back_unregister_entry_callback
+ monitor_back_unregister_entry_callback,
+
+ monitor_back_entry_stub
};
void ));
extern Entry *
-monitor_entry_stub LDAP_P((
+monitor_back_entry_stub LDAP_P((
struct berval *pdn,
struct berval *pndn,
struct berval *rdn,
ObjectClass *oc,
monitor_info_t *mi,
struct berval *create,
- struct berval *modify));
+ struct berval *modify ));
+
+#define monitor_entry_stub monitor_back_entry_stub
/*
* init