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_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 ));
87 monitor_subsys_database_init LDAP_P((
89 monitor_subsys_t *ms ));
95 monitor_entry_update LDAP_P((
100 monitor_entry_create LDAP_P((
107 monitor_entry_modify LDAP_P((
112 monitor_entry_test_flags LDAP_P((
115 extern monitor_entry_t *
116 monitor_entrypriv_create LDAP_P((
120 monitor_entry_stub LDAP_P((
126 struct berval *create,
127 struct berval *modify));
133 monitor_back_register_subsys LDAP_P((
134 monitor_subsys_t *ms ));
135 extern monitor_subsys_t *
136 monitor_back_get_subsys LDAP_P((
138 extern monitor_subsys_t *
139 monitor_back_get_subsys_by_dn LDAP_P((
143 monitor_back_is_configured LDAP_P(( void ));
145 monitor_back_register_entry LDAP_P((
147 monitor_callback_t *cb ));
149 monitor_back_register_entry_parent LDAP_P((
151 monitor_callback_t *cb,
154 struct berval *filter ));
156 monitor_filter2ndn LDAP_P((
159 struct berval *filter,
160 struct berval *ndn ));
162 monitor_back_register_entry_attrs LDAP_P((
165 monitor_callback_t *cb,
168 struct berval *filter ));
170 monitor_back_register_entry_callback LDAP_P((
172 monitor_callback_t *cb,
175 struct berval *filter ));
181 monitor_subsys_listener_init LDAP_P((
183 monitor_subsys_t *ms ));
189 monitor_subsys_log_init LDAP_P((
191 monitor_subsys_t *ms ));
197 monitor_subsys_ops_init LDAP_P((
199 monitor_subsys_t *ms ));
205 monitor_subsys_overlay_init LDAP_P((
207 monitor_subsys_t *ms ));
213 monitor_subsys_sent_init LDAP_P((
215 monitor_subsys_t *ms ));
221 monitor_subsys_thread_init LDAP_P((
223 monitor_subsys_t *ms ));
228 extern int monitor_subsys_time_init LDAP_P((
230 monitor_subsys_t *ms ));
236 monitor_subsys_rww_init LDAP_P((
238 monitor_subsys_t *ms ));
244 extern BI_init monitor_back_initialize;
246 extern BI_db_init monitor_back_db_init;
247 extern BI_db_open monitor_back_db_open;
248 extern BI_config monitor_back_config;
249 extern BI_db_destroy monitor_back_db_destroy;
250 extern BI_db_config monitor_back_db_config;
252 extern BI_op_search monitor_back_search;
253 extern BI_op_compare monitor_back_compare;
254 extern BI_op_modify monitor_back_modify;
255 extern BI_op_bind monitor_back_bind;
256 extern BI_operational monitor_back_operational;
260 #endif /* _PROTO_BACK_MONITOR */