winber.h header

This header is used by Lightweight Directory Access Protocol. For more information, see:

winber.h contains the following programming interfaces:

Functions

 
ber_alloc_t

Allocates and constructs a new BerElement structure.
ber_bvdup

The ber_bvdup function creates a copy of the supplied berval structure.
ber_bvecfree

The ber_bvecfree function frees an array of berval structures.
ber_bvfree

The ber_bvfree function (winber.h) frees a berval structure.
ber_first_element

The ber_first_element function is used to begin the traversal of a SET, SET OF, SEQUENCE or SEQUENCE OF data value stored in the supplied BerElement structure. It returns the tag and length of the first element.
ber_flatten

The ber_flatten function allocates a new berval structure containing the data taken from the supplied BerElement structure.
ber_free

The ber_free function frees a BerElement structure that was previously allocated with ber_alloc_t, ber_init, or the ldap_first_attribute/ ldap_next_attribute search functions.
ber_init

The ber_init function allocates a new BerElement structure containing the data taken from the supplied berval structure.
ber_next_element

The ber_next_element function is used along with ber_first_element to traverse a SET, SET OF, SEQUENCE or SEQUENCE OF data value stored in the supplied BerElement structure. It returns the tag and length of the next element in the constructed type.
ber_peek_tag

Returns the tag of the next element to be parsed in the supplied BerElement structure.
ber_printf

Used to encode a BER element and is similar to sprintf_s.
ber_scanf

The ber_scanf function decodes a BER element in a similar manner as sscanf_s.
ber_skip_tag

The ber_skip_tag function skips the current tag and returns the tag of the next element in the supplied BerElement structure.