Table of Contents | Previous | Next | Index

Netscape Directory SDK 3.0 for C Programmer’s Guide
     Chapter 18 Functions

ldap_sort_strcasecmp()

The ldap_sort_strcasecmp() routine compares two strings and ignores any differences in case when comparing uppercase and lowercase characters. This function is similar to the C function strcasecmp().

When sorting attribute values with ldap_sort_values(), call this function to compare the attribute values.

Syntax

#include <ldap.h>
int ldap_sort_strcasecmp( const char **a, const char **b );

Parameters

This function has the following parameters:

a

Pointer to first string to compare

b

Pointer to second string to compare

Returns

One of the following values:

See Also

ldap_sort_values().


Table of Contents | Previous | Next | Index

Last Updated: 10/01/98 17:06:23