From: Hallvard Furuseth Date: Wed, 12 Aug 2009 22:13:50 +0000 (+0000) Subject: ITS#6215 cleanup: Export ber_skip_element() to complement ber_peek_element() X-Git-Tag: ACLCHECK_0~346 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0e6e73d1c9c4c21a904123ff1130080dda03a77;p=openldap ITS#6215 cleanup: Export ber_skip_element() to complement ber_peek_element() --- diff --git a/libraries/liblber/decode.c b/libraries/liblber/decode.c index b0b7cf5769..386f3761ee 100644 --- a/libraries/liblber/decode.c +++ b/libraries/liblber/decode.c @@ -219,9 +219,9 @@ ber_peek_element( const BerElement *ber, struct berval *bv ) /* Move past next element, point *bv at it in-place, and return its tag. * The caller may \0-terminate *bv, as next octet is saved in ber->ber_tag. - * See ber_get_stringbv(ber, bv, LBER_BV_NOTERM) for an exported wrapper. + * Similar to ber_get_stringbv(ber, bv, LBER_BV_NOTERM) except on error. */ -static ber_tag_t +ber_tag_t ber_skip_element( BerElement *ber, struct berval *bv ) { ber_tag_t tag = ber_peek_element( ber, bv );