2 * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 * Copyright 2001 The OpenLDAP Foundation, All Rights Reserved.
7 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
9 * Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
11 * This work has beed deveolped for the OpenLDAP Foundation
12 * in the hope that it may be useful to the Open Source community,
13 * but WITHOUT ANY WARRANTY.
15 * Permission is granted to anyone to use this software for any purpose
16 * on any computer system, and to alter it and redistribute it, subject
17 * to the following restrictions:
19 * 1. The author and SysNet s.n.c. are not responsible for the consequences
20 * of use of this software, no matter how awful, even if they arise from
23 * 2. The origin of this software must not be misrepresented, either by
24 * explicit claim or by omission. Since few users ever read sources,
25 * credits should appear in the documentation.
27 * 3. Altered versions must be plainly marked as such, and must not be
28 * misrepresented as being the original software. Since few users
29 * ever read sources, credits should appear in the documentation.
30 * SysNet s.n.c. cannot be responsible for the consequences of the
33 * 4. This notice may not be removed or altered.
36 #ifndef _MONITOR_EXTERNAL_H
37 #define _MONITOR_EXTERNAL_H
41 extern int monitor_back_initialize LDAP_P(( BackendInfo *bi ));
42 extern int monitor_back_db_init LDAP_P(( BackendDB *be ));
43 extern int monitor_back_open LDAP_P(( BackendInfo *bi ));
44 extern int monitor_back_config LDAP_P(( BackendInfo *bi,
45 const char *fname, int lineno, int argc, char **argv ));
46 extern int monitor_back_db_config LDAP_P(( Backend *be,
47 const char *fname, int lineno, int argc, char **argv ));
49 extern int monitor_back_db_destroy LDAP_P(( BackendDB *be ));
51 extern int monitor_back_search LDAP_P(( BackendDB *bd,
52 Connection *conn, Operation *op,
53 const char *base, const char *nbase,
54 int scope, int deref, int sizelimit, int timelimit,
55 Filter *filter, const char *filterstr,
56 char **attrs, int attrsonly ));
58 extern int monitor_back_compare LDAP_P(( BackendDB *bd,
59 Connection *conn, Operation *op,
60 const char *dn, const char *ndn,
61 AttributeAssertion *ava ));
63 extern int monitor_back_abandon LDAP_P(( BackendDB *bd,
64 Connection *conn, Operation *op, ber_int_t msgid ));
68 #endif /* _MONITOR_EXTERNAL_H */