Table of Contents | Previous | Next | Index

Netscape Directory SDK 3.0 for C Programmer’s Guide
     Chapter 17 Data Types and Structures

LDAP_CMP_CALLBACK

LDAP_CMP_CALLBACK specifies the prototype for a callback function. If you define a function with this prototype and specify it when calling the ldap_sort_entries() or ldap_multisort_entries() function, your function will be called by your LDAP client. The client will call your function to sort a specified set of entries.

The prototype specified by this data type is:

typedef int (LDAP_C LDAP_CALLBACK 
LDAP_CMP_CALLBACK)(const char*, const char*);
For information on the arguments, return values, and purpose of this function, see ldap_sort_entries() and ldap_multisort_entries().


Table of Contents | Previous | Next | Index

Last Updated: 10/01/98 17:05:28