mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#6215 cleanup: Export ber_skip_element() to complement ber_peek_element()
This commit is contained in:
parent
3e20bda971
commit
b0e6e73d1c
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user