Table of Contents | Previous | Next | Index

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

LDAPControl

LDAPControl represents a client or server control associated with an LDAP operation. Controls are part of the LDAP v3 protocol. You can use a control to extend the functionality of an LDAP operation.

There are two basic types of controls described in the LDAP v3 protocol:

LDAPControl is defined as follows:

typedef struct ldapcontrol {
   char *ldctl_oid;
   struct berval ldctl_value;
   char ldctl_iscritical;
} LDAPControl, *PLDAPControl;
The fields in this structure are described below:

ldctl_oid

Object identifier (OID) of the control.

ldctl_value

berval structure containing data associated with the control.

ldctl_iscritical

Specifies whether or not the control is critical to the operation. This field can have one of the following values:

For more information on LDAP controls, see Chapter 14, "Working with LDAP Controls".


Table of Contents | Previous | Next | Index

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