Retrieves a list of field names in a null-terminated array.
#include <ldap.h>
int ldap_schema_get_field_names (
LDAPSchemaElement *element,
char *(* fieldnames[]));
(IN) Handle to a Schema element.
(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.
See the LDAP Return Codes
for return values.