LDAP_TF_GET_LDERRNO_CALLBACK specifies the prototype for a callback function. This function is called by your LDAP client when it needs to retrieve the LDAP result code for an operation.
The prototype specified by this data type is:
typedef int (LDAP_C LDAP_CALLBACKIf you define a function with this prototype and set it in the
LDAP_TF_GET_LDERRNO_CALLBACK)( char **, char **, void * );
ldap_thread_fns structure, your callback function is called when the ldap_get_lderrno() function is called. The arguments of ldap_get_lderrno() are passed to your function, and the value returned by your function is returned by ldap_get_lderrno().
For more details on the arguments and return values that your function must use, see ldap_get_lderrno().
Last Updated: 10/01/98 17:05:28