X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fldap_pvt_uc.h;h=75f9cd8a048f92df223b97a88f82d6b56f8ebf88;hb=616d7962efc86fa844559dceef8250ef0fe0feb4;hp=14e8c84524eb82a4353170bd07cb6c266c7f161a;hpb=1aa551f545c9278a01c2a72bb9ae9b2230ed63be;p=openldap diff --git a/include/ldap_pvt_uc.h b/include/ldap_pvt_uc.h index 14e8c84524..75f9cd8a04 100644 --- a/include/ldap_pvt_uc.h +++ b/include/ldap_pvt_uc.h @@ -1,14 +1,18 @@ /* $OpenLDAP$ */ -/* - * Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2004 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authorized by the OpenLDAP - * Public License. A copy of this license is available at - * http://www.OpenLDAP.org/license.html or in file LICENSE in the - * top-level directory of the distribution. + * Public License. + * + * A copy of this license is available in file LICENSE in the + * top-level directory of the distribution or, alternatively, at + * . */ + /* * ldap_pvt_uc.h - Header for Unicode functions. * These are meant to be used by the OpenLDAP distribution only. @@ -20,6 +24,7 @@ #include /* get ber_slen_t */ +#include #include "../libraries/liblunicode/ucdata/ucdata.h" LDAP_BEGIN_DECL @@ -147,12 +152,14 @@ LDAP_LUNICODE_F(void) ucstr2upper( LDAP_LUNICODE_F(struct berval *) UTF8bvnormalize( struct berval *, struct berval *, - unsigned ); + unsigned, + void *memctx ); LDAP_LUNICODE_F(int) UTF8bvnormcmp( struct berval *, struct berval *, - unsigned ); + unsigned, + void *memctx ); LDAP_END_DECL