2003-12-08 12:41:40 -05:00
|
|
|
/* $OpenLDAP$ */
|
|
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
2001-05-11 20:51:28 -04:00
|
|
|
*
|
2005-01-01 15:49:32 -05:00
|
|
|
* Copyright 2000-2005 The OpenLDAP Foundation.
|
2001-05-11 20:51:28 -04:00
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
2003-12-08 12:41:40 -05:00
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
|
* modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
|
* Public License.
|
2001-05-11 20:51:28 -04:00
|
|
|
*
|
2003-12-08 12:41:40 -05:00
|
|
|
* A copy of this license is available in the file LICENSE in the
|
|
|
|
|
* top-level directory of the distribution or, alternatively, at
|
|
|
|
|
* <http://www.OpenLDAP.org/license.html>.
|
|
|
|
|
*/
|
|
|
|
|
/* ACKNOWLEDGEMENT:
|
|
|
|
|
* This work was initially developed by Pierangelo Masarati for
|
|
|
|
|
* inclusion in OpenLDAP Software.
|
|
|
|
|
*/
|
2001-05-11 20:51:28 -04:00
|
|
|
|
|
|
|
|
#ifndef MAP_H
|
|
|
|
|
#define MAP_H
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Retrieves a builtin map
|
|
|
|
|
*/
|
2001-12-06 23:03:25 -05:00
|
|
|
LDAP_REWRITE_F (struct rewrite_builtin_map *)
|
2001-05-11 20:51:28 -04:00
|
|
|
rewrite_builtin_map_find(
|
|
|
|
|
struct rewrite_info *info,
|
|
|
|
|
const char *name
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* LDAP map
|
|
|
|
|
*/
|
2001-12-06 23:03:25 -05:00
|
|
|
LDAP_REWRITE_F (void *)
|
2001-05-11 20:51:28 -04:00
|
|
|
map_ldap_parse(
|
|
|
|
|
struct rewrite_info *info,
|
|
|
|
|
const char *fname,
|
|
|
|
|
int lineno,
|
|
|
|
|
int argc,
|
|
|
|
|
char **argv
|
|
|
|
|
);
|
|
|
|
|
|
2001-12-06 23:03:25 -05:00
|
|
|
LDAP_REWRITE_F (int)
|
2001-05-11 20:51:28 -04:00
|
|
|
map_ldap_apply( struct rewrite_builtin_map *map,
|
|
|
|
|
const char *filter,
|
|
|
|
|
struct berval *val
|
|
|
|
|
);
|
|
|
|
|
|
2003-11-14 15:00:20 -05:00
|
|
|
LDAP_REWRITE_F (int)
|
|
|
|
|
map_ldap_destroy( struct rewrite_builtin_map **map );
|
|
|
|
|
|
2001-05-11 20:51:28 -04:00
|
|
|
#endif /* MAP_H */
|