Table of Contents | Previous | Next | Index

Netscape Directory SDK 3.0 for C Programmer’s Guide
     Chapter 17 Data Types and Structures

berval

berval 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.

berval is defined as follows:

struct berval {
   unsigned long bv_len;
   char *bv_val;
};
The fields in this structure are described below:

bv_len

The length of the data.

bv_val

The binary data.

Use a berval structure when working with attributes that contain binary data (such as a JPEG or audio file).


Table of Contents | Previous | Next | Index

Last Updated: 10/01/98 17:05:28