2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 1998-2003 The OpenLDAP Foundation.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted only as authorized by the OpenLDAP
11 * A copy of this license is available in file LICENSE in the
12 * top-level directory of the distribution or, alternatively, at
13 * <http://www.OpenLDAP.org/license.html>.
16 * This work was initially developed by Pierangelo Masarati for inclusion
17 * in OpenLDAP Software.
19 /* This is an altered version */
21 * Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
23 * This work has beed deveolped for the OpenLDAP Foundation
24 * in the hope that it may be useful to the Open Source community,
25 * but WITHOUT ANY WARRANTY.
27 * Permission is granted to anyone to use this software for any purpose
28 * on any computer system, and to alter it and redistribute it, subject
29 * to the following restrictions:
31 * 1. The author and SysNet s.n.c. are not responsible for the consequences
32 * of use of this software, no matter how awful, even if they arise from
35 * 2. The origin of this software must not be misrepresented, either by
36 * explicit claim or by omission. Since few users ever read sources,
37 * credits should appear in the documentation.
39 * 3. Altered versions must be plainly marked as such, and must not be
40 * misrepresented as being the original software. Since few users
41 * ever read sources, credits should appear in the documentation.
42 * SysNet s.n.c. cannot be responsible for the consequences of the
45 * 4. This notice may not be removed or altered.
48 #ifndef _PROTO_BACK_MONITOR
49 #define _PROTO_BACK_MONITOR
51 #include <ldap_cdefs.h>
60 int monitor_entry_test_flags LDAP_P(( struct monitorentrypriv *mp, int cond ));
65 int monitor_subsys_backend_init LDAP_P(( BackendDB *be ));
70 int monitor_subsys_database_init LDAP_P(( BackendDB *be ));
75 int monitor_subsys_thread_init LDAP_P(( BackendDB *be ));
76 int monitor_subsys_thread_update LDAP_P(( Operation *op, Entry *e ));
81 int monitor_subsys_conn_init LDAP_P(( BackendDB *be ));
82 int monitor_subsys_conn_update LDAP_P(( Operation *op, Entry *e ));
83 int monitor_subsys_conn_create LDAP_P(( Operation *op, struct berval *ndn,
84 Entry *e_parent, Entry **ep ));
89 int monitor_subsys_rww_init LDAP_P(( BackendDB *be ));
90 int monitor_subsys_rww_update LDAP_P(( Operation *op, Entry *e ));
95 int monitor_subsys_log_init LDAP_P(( BackendDB *be ));
96 int monitor_subsys_log_modify LDAP_P(( Operation *op, Entry *e ));
101 int monitor_subsys_ops_init LDAP_P(( BackendDB *be ));
102 int monitor_subsys_ops_update LDAP_P(( Operation *op, Entry *e ));
107 int monitor_subsys_sent_init LDAP_P(( BackendDB *be ));
108 int monitor_subsys_sent_update LDAP_P(( Operation *op, Entry *e ));
113 int monitor_subsys_listener_init LDAP_P(( BackendDB *be ));
118 int monitor_subsys_time_init LDAP_P(( BackendDB *be ));
119 int monitor_subsys_time_update LDAP_P(( Operation *op, Entry *e ));
123 #endif /* _PROTO_BACK_MONITOR */