X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flber.h;h=93eebc3e486495895ddc3e0c5aca34baab5ca57d;hb=fa444597afc7f15a9d314803cb521dddf93a2679;hp=e712b291c776c22e3c7d1f47bd67ae7af698adf1;hpb=54c7e8ac080e17cbafdc1f102769502c67358382;p=openldap diff --git a/include/lber.h b/include/lber.h index e712b291c7..93eebc3e48 100644 --- a/include/lber.h +++ b/include/lber.h @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2004 The OpenLDAP Foundation. + * Copyright 1998-2005 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -584,11 +584,11 @@ ber_bvdup LDAP_P(( LBER_F( struct berval * ) ber_mem2bv LDAP_P(( - LDAP_CONST char *, ber_len_t len, int dup, struct berval *bv)); + LDAP_CONST char *, ber_len_t len, int duplicate, struct berval *bv)); LBER_F( struct berval * ) ber_str2bv LDAP_P(( - LDAP_CONST char *, ber_len_t len, int dup, struct berval *bv)); + LDAP_CONST char *, ber_len_t len, int duplicate, struct berval *bv)); #define ber_bvstr(a) ((ber_str2bv)((a), 0, 0, NULL)) #define ber_bvstrdup(a) ((ber_str2bv)((a), 0, 1, NULL)) @@ -597,6 +597,10 @@ LBER_F( char * ) ber_strdup LDAP_P(( LDAP_CONST char * )); +LBER_F( struct berval * ) +ber_bvreplace LDAP_P(( + struct berval *dst, LDAP_CONST struct berval *src )); + LBER_F( void ) ber_bvarray_free LDAP_P(( BerVarray p ));