]> git.sur5r.net Git - openldap/blob - servers/slapd/back-monitor/external.h
Extend value_match to extract an asserted value from a full value
[openldap] / servers / slapd / back-monitor / external.h
1 /*
2  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5 /*
6  * Copyright 2001 The OpenLDAP Foundation, All Rights Reserved.
7  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
8  * 
9  * Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
10  * 
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.
14  * 
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:
18  * 
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
21  *    flaws in it.
22  * 
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.
26  * 
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
31  *    alterations.
32  * 
33  * 4. This notice may not be removed or altered.
34  */
35
36 #ifndef _MONITOR_EXTERNAL_H
37 #define _MONITOR_EXTERNAL_H
38
39 LDAP_BEGIN_DECL
40
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 ));
48
49 extern int      monitor_back_db_destroy LDAP_P(( BackendDB *be ));
50
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 ));
57
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 ));
62
63 extern int      monitor_back_abandon LDAP_P(( BackendDB *bd,
64         Connection *conn, Operation *op, ber_int_t msgid ));
65
66 LDAP_END_DECL
67
68 #endif /* _MONITOR_EXTERNAL_H */
69