ldap_sort_strcasecmp

Compares two strings, ignoring any differences in upper and lower case characters between the strings.

LDAP Version:v2 or higher
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_sort_strcasecmp (
     const void   *a, 
     const void   *b);
  
  

Parameters

a

(IN) Points to the address of the pointer for first string to use in the compare.

b

(IN) Points to the address of the pointer for second string to use in the compare.

Return Values

0

String a is equal to string b.

>0

String a is greater than string b.

<0

String a is less than string b.

See Also

ldap_sort_values, ldap_sort_entries