]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/proto-back-monitor.h
Fix LBER_ERROR vs. -1 confusion.
[openldap] / servers / slapd / back-monitor / proto-back-monitor.h
index d0de827fca9d710a99b4e669c3d4e5cec3811f63..01d44ab01ef055ae5da73ed92bddb352856dcad1 100644 (file)
@@ -1,11 +1,8 @@
 /*
- * 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 
@@ -60,6 +57,7 @@ int monitor_subsys_database_init LDAP_P(( BackendDB *be ));
 /*
  * threads
  */
+int monitor_subsys_thread_init LDAP_P(( BackendDB *be ));
 int monitor_subsys_thread_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
 
 /*
@@ -67,7 +65,7 @@ int monitor_subsys_thread_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
  */
 int monitor_subsys_conn_init LDAP_P(( BackendDB *be ));
 int monitor_subsys_conn_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
-int monitor_subsys_conn_create LDAP_P(( struct monitorinfo *mi, const char *ndn, Entry *e_parent, Entry **ep ));
+int monitor_subsys_conn_create LDAP_P(( struct monitorinfo *mi, struct berval *ndn, Entry *e_parent, Entry **ep ));
 
 /*
  * read waiters
@@ -79,5 +77,35 @@ int monitor_subsys_readw_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
  */
 int monitor_subsys_writew_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
 
+/*
+ * log
+ */
+int monitor_subsys_log_init LDAP_P(( BackendDB *be ));
+int monitor_subsys_log_modify LDAP_P(( struct monitorinfo *mi, Entry *e, Modifications *modlist        ));
+
+/*
+ * operations
+ */
+int monitor_subsys_ops_init LDAP_P(( BackendDB *be ));
+int monitor_subsys_ops_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
+
+/*
+ * sent
+ */
+int monitor_subsys_sent_init LDAP_P(( BackendDB *be ));
+int monitor_subsys_sent_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
+
+/*
+ * listener
+ */
+int monitor_subsys_listener_init LDAP_P(( BackendDB *be ));
+
+/*
+ * time
+ */
+int monitor_subsys_time_init LDAP_P(( BackendDB *be ));
+int monitor_subsys_time_update LDAP_P(( struct monitorinfo *mi, Entry *e ));
+
 LDAP_END_DECL
+
 #endif