2003-12-09 01:41:40 +08:00
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
2001-05-12 08:51:28 +08:00
|
|
|
*
|
2004-01-02 03:15:16 +08:00
|
|
|
* Copyright 2000-2004 The OpenLDAP Foundation.
|
2001-05-12 08:51:28 +08:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
2003-12-09 01:41:40 +08: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-12 08:51:28 +08:00
|
|
|
*
|
2003-12-09 01:41:40 +08: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-12 08:51:28 +08:00
|
|
|
|
|
|
|
#ifndef MAP_H
|
|
|
|
#define MAP_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Retrieves a builtin map
|
|
|
|
*/
|
2001-12-07 12:03:25 +08:00
|
|
|
LDAP_REWRITE_F (struct rewrite_builtin_map *)
|
2001-05-12 08:51:28 +08:00
|
|
|
rewrite_builtin_map_find(
|
|
|
|
struct rewrite_info *info,
|
|
|
|
const char *name
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* LDAP map
|
|
|
|
*/
|
2001-12-07 12:03:25 +08:00
|
|
|
LDAP_REWRITE_F (void *)
|
2001-05-12 08:51:28 +08:00
|
|
|
map_ldap_parse(
|
|
|
|
struct rewrite_info *info,
|
|
|
|
const char *fname,
|
|
|
|
int lineno,
|
|
|
|
int argc,
|
|
|
|
char **argv
|
|
|
|
);
|
|
|
|
|
2001-12-07 12:03:25 +08:00
|
|
|
LDAP_REWRITE_F (int)
|
2001-05-12 08:51:28 +08:00
|
|
|
map_ldap_apply( struct rewrite_builtin_map *map,
|
|
|
|
const char *filter,
|
|
|
|
struct berval *val
|
|
|
|
);
|
|
|
|
|
2003-11-15 04:00:20 +08:00
|
|
|
LDAP_REWRITE_F (int)
|
|
|
|
map_ldap_destroy( struct rewrite_builtin_map **map );
|
|
|
|
|
2001-05-12 08:51:28 +08:00
|
|
|
#endif /* MAP_H */
|