]> git.sur5r.net Git - openldap/blob - libraries/librewrite/rewrite-map.h
fix wrong copyright date
[openldap] / libraries / librewrite / rewrite-map.h
1 /* $OpenLDAP$ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3  *
4  * Copyright 2000-2004 The OpenLDAP Foundation.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted only as authorized by the OpenLDAP
9  * Public License.
10  *
11  * A copy of this license is available in the file LICENSE in the
12  * top-level directory of the distribution or, alternatively, at
13  * <http://www.OpenLDAP.org/license.html>.
14  */
15 /* ACKNOWLEDGEMENT:
16  * This work was initially developed by Pierangelo Masarati for
17  * inclusion in OpenLDAP Software.
18  */
19
20 #ifndef MAP_H
21 #define MAP_H
22
23 /*
24  * Retrieves a builtin map
25  */
26 LDAP_REWRITE_F (struct rewrite_builtin_map *)
27 rewrite_builtin_map_find(
28                 struct rewrite_info *info,
29                 const char *name
30 );
31
32
33 /*
34  * LDAP map
35  */
36 LDAP_REWRITE_F (void  *)
37 map_ldap_parse(
38                 struct rewrite_info *info,
39                 const char *fname,
40                 int lineno,
41                 int argc,
42                 char **argv
43 );
44
45 LDAP_REWRITE_F (int)
46 map_ldap_apply( struct rewrite_builtin_map *map,
47                 const char *filter,
48                 struct berval *val
49 );
50
51 LDAP_REWRITE_F (int)
52 map_ldap_destroy( struct rewrite_builtin_map **map );
53
54 #endif /* MAP_H */