Constructs and returns an empty BerElement.
#include <ldap.h> or <lber.h>
BerElement *ber_alloc_t (
int options);
(IN) Specifies the options used to create a BerElement.
Returns a newly created BerElement on success; otherwise, returns a NULL pointer on failure.
The options parameter specifies a bitwise OR of options to be used when encoding a new BerElement. You should always supply the following option:
Unrecognized option bits are ignored.
Calls to the ber_printf function append bytes to the end of the BerElement.
Each BerElement structure allocated by the ber_alloc_t function should be freed by a call to the function.