]> git.sur5r.net Git - openldap/blob - libraries/librewrite/rewrite-map.h
Add note regarding user/system checks and operational attributes.
[openldap] / libraries / librewrite / rewrite-map.h
1 /******************************************************************************
2  *
3  * Copyright (C) 2000 Pierangelo Masarati, <ando@sys-net.it>
4  * All rights reserved.
5  *
6  * Permission is granted to anyone to use this software for any purpose
7  * on any computer system, and to alter it and redistribute it, subject
8  * to the following restrictions:
9  *
10  * 1. The author is not responsible for the consequences of use of this
11  * software, no matter how awful, even if they arise from flaws in it.
12  *
13  * 2. The origin of this software must not be misrepresented, either by
14  * explicit claim or by omission.  Since few users ever read sources,
15  * credits should appear in the documentation.
16  *
17  * 3. Altered versions must be plainly marked as such, and must not be
18  * misrepresented as being the original software.  Since few users
19  * ever read sources, credits should appear in the documentation.
20  * 
21  * 4. This notice may not be removed or altered.
22  *
23  ******************************************************************************/
24
25 #ifndef MAP_H
26 #define MAP_H
27
28 /*
29  * Retrieves a builtin map
30  */
31 LDAP_REWRITE_F (struct rewrite_builtin_map *)
32 rewrite_builtin_map_find(
33                 struct rewrite_info *info,
34                 const char *name
35 );
36
37
38 /*
39  * LDAP map
40  */
41 LDAP_REWRITE_F (void  *)
42 map_ldap_parse(
43                 struct rewrite_info *info,
44                 const char *fname,
45                 int lineno,
46                 int argc,
47                 char **argv
48 );
49
50 LDAP_REWRITE_F (int)
51 map_ldap_apply( struct rewrite_builtin_map *map,
52                 const char *filter,
53                 struct berval *val
54 );
55
56 #endif /* MAP_H */