ldap_schema_get_field_names

Retrieves a list of field names in a null-terminated array.

Library:*ldapsdk.*
NDS Version:7.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>
  
  int ldap_schema_get_field_names (
     LDAPSchemaElement  *element,
     char                 *(* fieldnames[]));
  

Parameters

element

(IN) Handle to a Schema element.

fieldNames

(OUT) Address of a null-terminated array of string pointers that contain all field names defined for this schema element. Free this memory with ldap_value_free.

Return Values

See the LDAP Return Codes for return values.