ber_skip_tag

Skips the next element of a BerElement, returning its length and tag.

Library:*ldapsdk.*
NDS Version:7.xx or higher
Platform:NLM, Windows (NT, 95, 98, 2000, XP, Vista 32-bit and 64-bit ), Linux (32-bit and 64-bit), Solaris, AIX, and HP-UX

Syntax

#include <ldap.h> or <lber.h> ber_tag_t ber_skip_tag ( BerElement *ber, ber_len_t *lenPtr);

Parameters

ber

(IN) Points to the BerElement.

lenPtr

(OUT) Points to the length of the skipped element.

Return Values

Returns the tag of the element that was skipped on success; otherwise, returns LBER_DEFAULT if there is no further data to be read.