/* entry.c - monitor backend entry handling routines */
/*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/*
- * Copyright 2001 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
- *
* Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
*
* This work has beed deveolped for the OpenLDAP Foundation
int
monitor_entry_create(
struct monitorinfo *mi,
- const char *ndn,
+ struct berval *ndn,
Entry *e_parent,
Entry **ep
)
return( 0 );
}
+int
+monitor_entry_modify(
+ struct monitorinfo *mi,
+ Entry *e,
+ Modifications *modlist
+)
+{
+ struct monitorentrypriv *mp;
+
+ assert( mi != NULL );
+ assert( e != NULL );
+ assert( e->e_private != NULL );
+
+ mp = ( struct monitorentrypriv * )e->e_private;
+
+ if ( mp->mp_info && mp->mp_info->mss_modify ) {
+ return ( *mp->mp_info->mss_modify )( mi, e, modlist );
+ }
+
+ return( 0 );
+}
+
int
monitor_entry_test_flags(
struct monitorentrypriv *mp,