2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 2001-2005 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_dn2entry LDAP_P((
64 monitor_cache_lock LDAP_P((
67 monitor_cache_release LDAP_P((
72 monitor_cache_destroy LDAP_P((
73 monitor_info_t *mi ));
79 monitor_subsys_conn_init LDAP_P((
81 monitor_subsys_t *ms ));
83 monitor_subsys_conn_update LDAP_P((
88 monitor_subsys_conn_create LDAP_P((
99 monitor_subsys_database_init LDAP_P((
101 monitor_subsys_t *ms ));
103 monitor_subsys_database_modify LDAP_P((
112 monitor_entry_update LDAP_P((
117 monitor_entry_create LDAP_P((
124 monitor_entry_modify LDAP_P((
129 monitor_entry_test_flags LDAP_P((
132 extern monitor_entry_t *
133 monitor_entrypriv_create LDAP_P((
140 monitor_back_register_subsys LDAP_P((
141 monitor_subsys_t *ms ));
142 extern monitor_subsys_t *
143 monitor_back_get_subsys LDAP_P((
145 extern monitor_subsys_t *
146 monitor_back_get_subsys_by_dn LDAP_P((
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 ));
186 monitor_subsys_listener_init LDAP_P((
188 monitor_subsys_t *ms ));
194 monitor_subsys_log_init LDAP_P((
196 monitor_subsys_t *ms ));
198 monitor_subsys_log_modify LDAP_P((
207 monitor_subsys_ops_init LDAP_P((
209 monitor_subsys_t *ms ));
211 monitor_subsys_ops_update LDAP_P((
220 monitor_subsys_overlay_init LDAP_P((
222 monitor_subsys_t *ms ));
228 monitor_subsys_sent_init LDAP_P((
230 monitor_subsys_t *ms ));
232 monitor_subsys_sent_update LDAP_P((
241 monitor_subsys_thread_init LDAP_P((
243 monitor_subsys_t *ms ));
245 monitor_subsys_thread_update LDAP_P((
253 extern int monitor_subsys_time_init LDAP_P((
255 monitor_subsys_t *ms ));
257 monitor_subsys_time_update LDAP_P((
266 monitor_subsys_rww_init LDAP_P((
268 monitor_subsys_t *ms ));
270 monitor_subsys_rww_update LDAP_P((
279 extern BI_init monitor_back_initialize;
281 extern BI_db_init monitor_back_db_init;
282 extern BI_db_open monitor_back_db_open;
283 extern BI_config monitor_back_config;
284 extern BI_db_destroy monitor_back_db_destroy;
285 extern BI_db_config monitor_back_db_config;
287 extern BI_op_search monitor_back_search;
288 extern BI_op_compare monitor_back_compare;
289 extern BI_op_modify monitor_back_modify;
290 extern BI_op_bind monitor_back_bind;
291 extern BI_operational monitor_back_operational;
295 #endif /* _PROTO_BACK_MONITOR */