#include <ldap.h>
int ldap_parse_virtuallist_control( LDAP *ld,
LDAPControl **ctrls, unsigned long *target_posp,
unsigned long *list_sizep, int *errcodep );
ld |
Connection handle, which is a pointer to an |
ctrls |
An array of controls returned by the server. You obtain these controls by calling the |
target_posp | |
list_sizep | |
errcodep | Pointer to the sort control result code retrieved by this function. |
LDAP_SUCCESS if successful. LDAP_PARAM_ERROR if an invalid parameter was passed to the function (for example, if the LDAP connection is not valid). LDAP_NO_MEMORY if memory cannot be allocated to decode the control returned by the server. LDAP_DECODING_ERROR if an error occurred when BER decoding the control. LDAP_CONTROL_NOT_FOUND if no control can be found in the response returned from the server. LDAP_NOT_SUPPORTED if your LDAP client does not specify that it is using the LDAP v3 protocol. Make sure that you set the version of your LDAP client to version 3 before calling this function. (For details, see "Specifying the LDAP Version of Your Client" on page 54.) ldap_parse_virtuallist_control() function as part of the process of retrieving a subset of entries from a list when working with a virtual list view box.
Call this function after receiving the results (call ldap_result() to get the results) and parsing the server controls from the results (call ldap_parse_result() to get the controls from the results).
At this point in time, no server supports this control. (The Netscape Directory Server 3.x does not support this control, although future releases of the Directory Server plan to support it.) For information on determining if a server supports this or other LDAP v3 controls, see "Determining If the Server Supports LDAP v3" on page 264.
For more information about this control, see "Using the Virtual List View Control" on page 304.
ldap_create_virtuallist_control().
Last Updated: 10/01/98 17:06:23