X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibrewrite%2Frewrite-map.h;h=76b4b3ed216b459551d9bd4591be72fdf607e6b8;hb=e6c32614f3840ac09dad1f7ffc1d4976a76d8fcb;hp=13283e4bed5ed555ea0a889c3293a978bd53474d;hpb=cddeab8513e951f21b5fe845df1cbac3730d023d;p=openldap diff --git a/libraries/librewrite/rewrite-map.h b/libraries/librewrite/rewrite-map.h index 13283e4bed..76b4b3ed21 100644 --- a/libraries/librewrite/rewrite-map.h +++ b/libraries/librewrite/rewrite-map.h @@ -1,26 +1,21 @@ -/****************************************************************************** +/* $OpenLDAP$ */ +/* This work is part of OpenLDAP Software . * - * Copyright (C) 2000 Pierangelo Masarati, + * Copyright 2000-2013 The OpenLDAP Foundation. * All rights reserved. * - * Permission is granted to anyone to use this software for any purpose - * on any computer system, and to alter it and redistribute it, subject - * to the following restrictions: + * Redistribution and use in source and binary forms, with or without + * modification, are permitted only as authorized by the OpenLDAP + * Public License. * - * 1. The author is not responsible for the consequences of use of this - * software, no matter how awful, even if they arise from flaws in it. - * - * 2. The origin of this software must not be misrepresented, either by - * explicit claim or by omission. Since few users ever read sources, - * credits should appear in the documentation. - * - * 3. Altered versions must be plainly marked as such, and must not be - * misrepresented as being the original software. Since few users - * ever read sources, credits should appear in the documentation. - * - * 4. This notice may not be removed or altered. - * - ******************************************************************************/ + * A copy of this license is available in the file LICENSE in the + * top-level directory of the distribution or, alternatively, at + * . + */ +/* ACKNOWLEDGEMENT: + * This work was initially developed by Pierangelo Masarati for + * inclusion in OpenLDAP Software. + */ #ifndef MAP_H #define MAP_H @@ -34,26 +29,4 @@ rewrite_builtin_map_find( const char *name ); - -/* - * LDAP map - */ -LDAP_REWRITE_F (void *) -map_ldap_parse( - struct rewrite_info *info, - const char *fname, - int lineno, - int argc, - char **argv -); - -LDAP_REWRITE_F (int) -map_ldap_apply( struct rewrite_builtin_map *map, - const char *filter, - struct berval *val -); - -LDAP_REWRITE_F (int) -map_ldap_destroy( struct rewrite_builtin_map **map ); - #endif /* MAP_H */