2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 2001-2006 The OpenLDAP Foundation.
5 * Portions Copyright 2001-2003 Pierangelo Masarati.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
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>.
17 * This work was initially developed by Pierangelo Masarati for inclusion
18 * in OpenLDAP Software.
21 #ifndef _PROTO_BACK_MONITOR
22 #define _PROTO_BACK_MONITOR
24 #include <ldap_cdefs.h>
32 monitor_subsys_backend_init LDAP_P((
34 monitor_subsys_t *ms ));
40 monitor_cache_cmp LDAP_P((
44 monitor_cache_dup LDAP_P((
48 monitor_cache_add LDAP_P((
52 monitor_cache_get LDAP_P((
57 monitor_cache_remove LDAP_P((
62 monitor_cache_dn2entry LDAP_P((
69 monitor_cache_lock LDAP_P((
72 monitor_cache_release LDAP_P((
77 monitor_cache_destroy LDAP_P((
78 monitor_info_t *mi ));
84 monitor_subsys_conn_init LDAP_P((
86 monitor_subsys_t *ms ));
92 monitor_subsys_database_init LDAP_P((
94 monitor_subsys_t *ms ));
100 monitor_entry_update LDAP_P((
105 monitor_entry_create LDAP_P((
112 monitor_entry_modify LDAP_P((
117 monitor_entry_test_flags LDAP_P((
120 extern monitor_entry_t *
121 monitor_entrypriv_create LDAP_P((
125 monitor_entry_stub LDAP_P((
131 struct berval *create,
132 struct berval *modify));
138 monitor_back_register_subsys LDAP_P((
139 monitor_subsys_t *ms ));
140 extern monitor_subsys_t *
141 monitor_back_get_subsys LDAP_P((
143 extern monitor_subsys_t *
144 monitor_back_get_subsys_by_dn LDAP_P((
148 monitor_back_is_configured LDAP_P(( void ));
150 monitor_back_register_entry LDAP_P((
152 monitor_callback_t *cb ));
154 monitor_back_register_entry_parent LDAP_P((
156 monitor_callback_t *cb,
159 struct berval *filter ));
161 monitor_filter2ndn LDAP_P((
164 struct berval *filter,
165 struct berval *ndn ));
167 monitor_back_register_entry_attrs LDAP_P((
170 monitor_callback_t *cb,
173 struct berval *filter ));
175 monitor_back_register_entry_callback LDAP_P((
177 monitor_callback_t *cb,
180 struct berval *filter ));
182 monitor_back_unregister_entry LDAP_P((
185 monitor_back_unregister_entry_attrs LDAP_P((
188 monitor_callback_t *cb,
191 struct berval *filter ));
193 monitor_back_unregister_entry_callback LDAP_P((
195 monitor_callback_t *cb,
198 struct berval *filter ));
204 monitor_subsys_listener_init LDAP_P((
206 monitor_subsys_t *ms ));
212 monitor_subsys_log_init LDAP_P((
214 monitor_subsys_t *ms ));
220 monitor_subsys_ops_init LDAP_P((
222 monitor_subsys_t *ms ));
228 monitor_subsys_overlay_init LDAP_P((
230 monitor_subsys_t *ms ));
236 monitor_subsys_sent_init LDAP_P((
238 monitor_subsys_t *ms ));
244 monitor_subsys_thread_init LDAP_P((
246 monitor_subsys_t *ms ));
251 extern int monitor_subsys_time_init LDAP_P((
253 monitor_subsys_t *ms ));
259 monitor_subsys_rww_init LDAP_P((
261 monitor_subsys_t *ms ));
267 extern BI_init monitor_back_initialize;
269 extern BI_db_init monitor_back_db_init;
270 extern BI_db_open monitor_back_db_open;
271 extern BI_config monitor_back_config;
272 extern BI_db_destroy monitor_back_db_destroy;
273 extern BI_db_config monitor_back_db_config;
275 extern BI_op_search monitor_back_search;
276 extern BI_op_compare monitor_back_compare;
277 extern BI_op_modify monitor_back_modify;
278 extern BI_op_bind monitor_back_bind;
279 extern BI_operational monitor_back_operational;
283 #endif /* _PROTO_BACK_MONITOR */