Represents binary data encoded using simplified Basic Encoding Rules (BER).
Use a berval structure when working with binary attribute values such as a JPEG or audio file.
/* Defined in ldap.h, which is included by slapi-plugin.h */ #include "slapi-plugin.h" struct berval { unsigned long bv_len; char * bv_val; };
This structure has the following fields.
Table 15–3 berval Fields
Field |
Description |
---|---|
bv_len |
Size of the encoded data. |
bv_val |
Encoded data itself. |