ldap_parse_sstatus_control

Decodes the information returned from a search status control.

LDAP Version:v3
Library:*ldapsdk.*
NDS Version:8.xx or higher
Platform:NLM, Windows (NT, 95, 98, 2000, XP, Vista 32-bit and 64-bit ), Linux (32-bit and 64-bit), Solaris, AIX, and HP-UX

Syntax

  #include <ldap.h>ldap_parse_sstatus_control (
          LDAP              *ld,
          LDAPControl     **ctrls,
          int               *numEax,
          int               *numPass,
          int               *evaDone,
          int                *numAva )
  

Parameters

ld

(IN) Points to the handle of the LDAP session.

ctrls

(IN) Points to the address of a null-terminated array of LDAPControl structures, obtained by a call to the ldap_parse_result function.

numEax

(OUT) Indicates the number of examined records.

numPass

(OUT) Indicates the number of examined records that matchs the search criteria.

evaDone

(OUT) Indicates the evaluation done.

numAva

(OUT) Indicates the number of records available

Return Values

0x00

LDAP_SUCCESS

Non-zero

Failure. See LDAP Return Codes.