LDAP_PARSE_VLV_CONTROL(3)
π NAME π
Okay bestie, this is LDAP_PARSE_VLV_CONTROL(3), a Library Functions Manual page β and it's all about ldap_parse_vlv_control: decode the information returned from a search operation that used a VLV (virtual list view) control. That's the vibe. β¨
π LIBRARY π
OpenLDAP LDAP β libldap, -lldap. That's where this icon lives. π
π οΈ SYNOPSIS π οΈ
#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;
π¦ DESCRIPTION π¦
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 β and yes, bestie, that's exactly how the page spells it, no space between ldap_parse_result and function. Iykyk. π
target_pospβ the page calls ittarget_posin the prose, and it points to the list index of the target entry. If this parameter isNULL, 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. Highkey important, no cap. π―list_countpβ points to the server's estimate of the size of the list. If this parameter isNULL, the size is not returned. πcontextpβ a pointer to the address of abervalstructure that contains a server-generated context identifier if the server returns one. If the server does not return a context identifier, the server returns aNULLin this parameter. If this parameter is set toNULL, the context identifier is not returned. You should use this returned context in the next call to create a VLV control. When thebervalstructure is no longer needed, you should free the memory by calling theber_bvfreefunction. π§errcodepβ first, the original text has the exact stringfunction.e errcodepright before this, so don't let thefunction.epart confuse you;errcodepis an output parameter, which points to the result code returned by the server. If this parameter isNULL, the result code is not returned. π
See ldap.h for a list of possible return codes. π
π SEE ALSO π
ldap_search(3)β go read that one too, bestie. π«Ά
π«Ά ACKNOWLEDGEMENTS π«Ά
OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from the University of Michigan LDAP 3.3 Release. π
That's a wrap, bestie β this page is from OpenLDAP 2.6.16 and dated 2026/10/21. Slay. π π
π¦ where this page comes from
- fedora 44: openldap-devel 2.6.16-1.fc44 Β· OLDAP-2.8
- fedora 44: openldap-devel 2.6.16-1.fc44 Β· OLDAP-2.8
- Copyright 1998-2026 The OpenLDAP Foundation All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms