]> git.sur5r.net Git - openldap/blob - servers/slapd/back-monitor/proto-back-monitor.h
Rename header macro
[openldap] / servers / slapd / back-monitor / proto-back-monitor.h
1 /*
2  * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5 /*
6  * Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
7  * 
8  * This work has beed deveolped for the OpenLDAP Foundation 
9  * in the hope that it may be useful to the Open Source community, 
10  * but WITHOUT ANY WARRANTY.
11  * 
12  * Permission is granted to anyone to use this software for any purpose
13  * on any computer system, and to alter it and redistribute it, subject
14  * to the following restrictions:
15  * 
16  * 1. The author and SysNet s.n.c. are not responsible for the consequences
17  *    of use of this software, no matter how awful, even if they arise from
18  *    flaws in it.
19  * 
20  * 2. The origin of this software must not be misrepresented, either by
21  *    explicit claim or by omission.  Since few users ever read sources,
22  *    credits should appear in the documentation.
23  * 
24  * 3. Altered versions must be plainly marked as such, and must not be
25  *    misrepresented as being the original software.  Since few users
26  *    ever read sources, credits should appear in the documentation.
27  *    SysNet s.n.c. cannot be responsible for the consequences of the
28  *    alterations.
29  * 
30  * 4. This notice may not be removed or altered.
31  */
32
33 #ifndef _PROTO_BACK_MONITOR
34 #define _PROTO_BACK_MONITOR
35
36 #include <ldap_cdefs.h>
37
38 #include "external.h"
39
40 LDAP_BEGIN_DECL
41
42 /*
43  * entry
44  */
45 int monitor_entry_test_flags LDAP_P(( struct monitorentrypriv *mp, int cond ));
46
47 /*
48  * backends
49  */
50 int monitor_subsys_backend_init LDAP_P(( BackendDB *be ));
51
52 /*
53  * databases 
54  */
55 int monitor_subsys_database_init LDAP_P(( BackendDB *be ));
56
57 /*
58  * threads
59  */
60 int monitor_subsys_thread_init LDAP_P(( BackendDB *be ));
61 int monitor_subsys_thread_update LDAP_P(( Operation *op, Entry *e ));
62
63 /*
64  * connections
65  */
66 int monitor_subsys_conn_init LDAP_P(( BackendDB *be ));
67 int monitor_subsys_conn_update LDAP_P(( Operation *op, Entry *e ));
68 int monitor_subsys_conn_create LDAP_P(( Operation *op, struct berval *ndn,
69                         Entry *e_parent, Entry **ep ));
70
71 /*
72  * waiters
73  */
74 int monitor_subsys_rww_init LDAP_P(( BackendDB *be ));
75 int monitor_subsys_rww_update LDAP_P(( Operation *op, Entry *e ));
76
77 /*
78  * log
79  */
80 int monitor_subsys_log_init LDAP_P(( BackendDB *be ));
81 int monitor_subsys_log_modify LDAP_P(( Operation *op, Entry *e ));
82
83 /*
84  * operations
85  */
86 int monitor_subsys_ops_init LDAP_P(( BackendDB *be ));
87 int monitor_subsys_ops_update LDAP_P(( Operation *op, Entry *e ));
88
89 /*
90  * sent
91  */
92 int monitor_subsys_sent_init LDAP_P(( BackendDB *be ));
93 int monitor_subsys_sent_update LDAP_P(( Operation *op, Entry *e ));
94
95 /*
96  * listener
97  */
98 int monitor_subsys_listener_init LDAP_P(( BackendDB *be ));
99
100 /*
101  * time
102  */
103 int monitor_subsys_time_init LDAP_P(( BackendDB *be ));
104 int monitor_subsys_time_update LDAP_P(( Operation *op, Entry *e ));
105
106 LDAP_END_DECL
107
108 #endif /* _PROTO_BACK_MONITOR */
109