ldap_parse_vlv_control − Decode the information returned from a search operation that used a VLV (virtual list view) control


OpenLDAP LDAP (libldap, −lldap)


#include <ldap.h>

int ldap_parse_vlv_control( ld, ctrlp, target_posp, list_countp, contextp, errcodep )
LDAP *ld;
LDAPControl **ctrlp;
unsigned long *target_posp, *list_countp;
struct berval **contextp;
int *errcodep;


The ldap_parse_vlv_control is used to decode the information returned from a search operation that used a VLV (virtual list view)control. It takes a null terminated array of LDAPControl structures, usually obtained by a call to the ldap_parse_resultfunction, a target_pos which points to the list index of the target entry. If this parameter is NULL, the target position is not returned. The index returned is an approximation of the position of the target entry. It is not guaranteed to be exact. The parameter list_countp points to the server’s estimate of the size of the list. If this parameter is NULL, the size is not returned. contextp is a pointer to the address of a berval structure that contains a server-generated context identifier if server returns one. If server does not return a context identifier, the server returns a NULL in this parameter. If this parameter is set to NULL, the context identifier is not returned. You should use this returned context in the next call to create a VLV control. When the berval structure is no longer needed, you should free the memory by calling the ber_bvfree function.e errcodep is an output parameter, which points to the result code returned by the server. If this parameter is NULL, the result code is not returned.

See ldap.h for a list of possible return codes.




OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from University of Michigan LDAP 3.3 Release.

More Linux Commands

klogconsole(8) Tells the kernel to what terminal it should c
The program klogconsole tells the kernel to what terminal and starting from what level it should copy printk(9) messages. General Options -l &lt;console_loglevel&gt;

glPopAttrib(3gl) - push and pop the server attribute stack
glPushAttrib takes one argument, a mask that indicates which groups of state variables to save on the attribute stack. Symbolic constants are used to set bits i

ldapadd(1) - LDAP modify entry and LDAP add entry tools.....
ldapmodify is a shell-accessible interface to the ldap_add_ext(3), ldap_modify_ext(3), ldap_delete_ext(3) and ldap_rename(3). library calls. ldapadd is implemen

intro(4) - Introduction to special files - Linux man page...
Section 4 of the manual describes special files (devices). FILES /dev/* device files NOTES Authors and copyright conditions Look at the header of the manual pag

gnutls_pkcs11_init(3) - API function - Linux manual page....
This function will initialize the PKCS 11 subsystem in gnutls. It will read configuration files if GNUTLS_PKCS11_FLAG_AUTO is used or allow you to independently

Mail::SpamAssassin::Plugin::DKIM(3pm) - perform DKIM verific
This SpamAssassin plugin implements DKIM lookups as described by the RFC 4871, as well as historical DomainKeys lookups, as described by RFC 4870, thanks to the

NetSNMP::agent::default_store(3pm) - Perl extension for Net-
The NetSNMP::agent::default_store module defines the agent-specific Net-SNMP default storage variables. EXPORT None by default. Exportable constants NETSNMP_DS_

numcodes(3ncurses) - curses terminfo global variables.......
This page summarizes variables provided by the curses librarys low-level terminfo interface. A more complete description is given in the curs_terminfo(3X) manua

gnutls_x509_crt_get_extension_by_oid(3) - API function......
gnutls_x509_crt_get_extension_by_oid.3 - This function will return the extension specified by the OID in the certificate. The extensions will be returned as bin


XtAppPeekEvent(3) - query and process events and input......
If the X event queue is empty, XtAppNextEvent flushes the X output buffers of each Display in the application context and waits for an event while looking at th

mono-config(5) - Mono runtime file format configuration.....
The Mono runtime will load configuration data from the installation prefix /etc/mono/config file, the ~/.mono/config or from the file pointed by the MONO_CONFIG

We can't live, work or learn in freedom unless the software we use is free.