]> git.sur5r.net Git - openldap/blob - servers/slapd/back-monitor/proto-back-monitor.h
Happy new year
[openldap] / servers / slapd / back-monitor / proto-back-monitor.h
1 /* $OpenLDAP$ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3  *
4  * Copyright 2001-2004 The OpenLDAP Foundation.
5  * Portions Copyright 2001-2003 Pierangelo Masarati.
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted only as authorized by the OpenLDAP
10  * Public License.
11  *
12  * A copy of this license is available in file LICENSE in the
13  * top-level directory of the distribution or, alternatively, at
14  * <http://www.OpenLDAP.org/license.html>.
15  */
16 /* ACKNOWLEDGEMENTS:
17  * This work was initially developed by Pierangelo Masarati for inclusion
18  * in OpenLDAP Software.
19  */
20
21 #ifndef _PROTO_BACK_MONITOR
22 #define _PROTO_BACK_MONITOR
23
24 #include <ldap_cdefs.h>
25
26 #include "external.h"
27
28 LDAP_BEGIN_DECL
29
30 /*
31  * entry
32  */
33 int monitor_entry_test_flags LDAP_P(( struct monitorentrypriv *mp, int cond ));
34
35 /*
36  * backends
37  */
38 int monitor_subsys_backend_init LDAP_P(( BackendDB *be ));
39
40 /*
41  * databases 
42  */
43 int monitor_subsys_database_init LDAP_P(( BackendDB *be ));
44
45 /*
46  * threads
47  */
48 int monitor_subsys_thread_init LDAP_P(( BackendDB *be ));
49 int monitor_subsys_thread_update LDAP_P(( Operation *op, Entry *e ));
50
51 /*
52  * connections
53  */
54 int monitor_subsys_conn_init LDAP_P(( BackendDB *be ));
55 int monitor_subsys_conn_update LDAP_P(( Operation *op, Entry *e ));
56 int monitor_subsys_conn_create LDAP_P(( Operation *op, struct berval *ndn,
57                         Entry *e_parent, Entry **ep ));
58
59 /*
60  * waiters
61  */
62 int monitor_subsys_rww_init LDAP_P(( BackendDB *be ));
63 int monitor_subsys_rww_update LDAP_P(( Operation *op, Entry *e ));
64
65 /*
66  * log
67  */
68 int monitor_subsys_log_init LDAP_P(( BackendDB *be ));
69 int monitor_subsys_log_modify LDAP_P(( Operation *op, Entry *e ));
70
71 /*
72  * operations
73  */
74 int monitor_subsys_ops_init LDAP_P(( BackendDB *be ));
75 int monitor_subsys_ops_update LDAP_P(( Operation *op, Entry *e ));
76
77 /*
78  * sent
79  */
80 int monitor_subsys_sent_init LDAP_P(( BackendDB *be ));
81 int monitor_subsys_sent_update LDAP_P(( Operation *op, Entry *e ));
82
83 /*
84  * listener
85  */
86 int monitor_subsys_listener_init LDAP_P(( BackendDB *be ));
87
88 /*
89  * time
90  */
91 int monitor_subsys_time_init LDAP_P(( BackendDB *be ));
92 int monitor_subsys_time_update LDAP_P(( Operation *op, Entry *e ));
93
94 LDAP_END_DECL
95
96 #endif /* _PROTO_BACK_MONITOR */
97