Table of Contents | Previous | Next | Index

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

LDAP_TF_SET_LDERRNO_CALLBACK

LDAP_TF_SET_LDERRNO_CALLBACK specifies the prototype for a callback function. This function is called by your LDAP client when it needs to set the LDAP result code for an operation.

The prototype specified by this data type is:

typedef void (LDAP_C LDAP_CALLBACK 
LDAP_TF_SET_LDERRNO_CALLBACK)( int, char *, char *, void * );
If you define a function with this prototype and set it in the ldap_thread_fns structure, your callback function is called when the ldap_set_lderrno() function is called. The arguments of ldap_set_lderrno() are passed to your function.

For more details on the arguments that your function must use, see ldap_set_lderrno().


Table of Contents | Previous | Next | Index

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