Chapter 14. Data Type and Structure Reference
14.1. berval
This struct definition uses the following syntax:
typedef struct berval {
unsigned long bv_len;
char *bv_val;
}BerValue;
This struct definition contains the following fields:
Table 14.1. Berval Field Listing
| Field | Description |
|---|---|
bv_len | The length of the data. |
bv_val | The binary data. |
The berval data structure represents binary data that is encoded using simplified Basic Encoding Rules (BER). The data and size of the data are included in a berval structure.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.