1 /* $OpenLDAP: pkg/ldap/servers/slapd/back-monitor/proto-back-monitor.h,v 1.33.2.5 2008/02/11 23:26:47 kurt Exp $ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 2001-2008 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_subsys_is_opened
LDAP_P((
141 monitor_back_register_subsys
LDAP_P((
142 monitor_subsys_t
*ms
));
144 monitor_back_register_backend
LDAP_P((
147 monitor_back_register_database
LDAP_P((
149 struct berval
*ndn
));
151 monitor_back_register_overlay_info
LDAP_P((
152 slap_overinst
*on
));
154 monitor_back_register_overlay
LDAP_P((
157 monitor_back_register_backend_limbo
LDAP_P((
160 monitor_back_register_database_limbo
LDAP_P((
162 struct berval
*ndn
));
164 monitor_back_register_overlay_info_limbo
LDAP_P((
165 slap_overinst
*on
));
167 monitor_back_register_overlay_limbo
LDAP_P((
169 extern monitor_subsys_t
*
170 monitor_back_get_subsys
LDAP_P((
172 extern monitor_subsys_t
*
173 monitor_back_get_subsys_by_dn
LDAP_P((
177 monitor_back_is_configured
LDAP_P(( void ));
179 monitor_back_register_entry
LDAP_P((
181 monitor_callback_t
*cb
,
182 monitor_subsys_t
*mss
,
183 unsigned long flags
));
185 monitor_back_register_entry_parent
LDAP_P((
187 monitor_callback_t
*cb
,
188 monitor_subsys_t
*mss
,
192 struct berval
*filter
));
194 monitor_search2ndn
LDAP_P((
197 struct berval
*filter
,
198 struct berval
*ndn
));
200 monitor_back_register_entry_attrs
LDAP_P((
203 monitor_callback_t
*cb
,
206 struct berval
*filter
));
208 monitor_back_register_entry_callback
LDAP_P((
210 monitor_callback_t
*cb
,
213 struct berval
*filter
));
215 monitor_back_unregister_entry
LDAP_P((
216 struct berval
*ndn
));
218 monitor_back_unregister_entry_parent
LDAP_P((
220 monitor_callback_t
*target_cb
,
223 struct berval
*filter
));
225 monitor_back_unregister_entry_attrs
LDAP_P((
228 monitor_callback_t
*cb
,
231 struct berval
*filter
));
233 monitor_back_unregister_entry_callback
LDAP_P((
235 monitor_callback_t
*cb
,
238 struct berval
*filter
));
244 monitor_subsys_listener_init
LDAP_P((
246 monitor_subsys_t
*ms
));
252 monitor_subsys_log_init
LDAP_P((
254 monitor_subsys_t
*ms
));
260 monitor_subsys_ops_init
LDAP_P((
262 monitor_subsys_t
*ms
));
268 monitor_subsys_overlay_init
LDAP_P((
270 monitor_subsys_t
*ms
));
276 monitor_subsys_sent_init
LDAP_P((
278 monitor_subsys_t
*ms
));
284 monitor_subsys_thread_init
LDAP_P((
286 monitor_subsys_t
*ms
));
291 extern int monitor_subsys_time_init
LDAP_P((
293 monitor_subsys_t
*ms
));
299 monitor_subsys_rww_init
LDAP_P((
301 monitor_subsys_t
*ms
));
307 extern BI_init monitor_back_initialize
;
309 extern BI_db_init monitor_back_db_init
;
310 extern BI_db_open monitor_back_db_open
;
311 extern BI_config monitor_back_config
;
312 extern BI_db_destroy monitor_back_db_destroy
;
313 extern BI_db_config monitor_back_db_config
;
315 extern BI_op_search monitor_back_search
;
316 extern BI_op_compare monitor_back_compare
;
317 extern BI_op_modify monitor_back_modify
;
318 extern BI_op_bind monitor_back_bind
;
319 extern BI_operational monitor_back_operational
;
323 #endif /* _PROTO_BACK_MONITOR */