ldap_thread_fns structure contains a set of pointers to functions that you want to use when write a multithreaded client.
The ldap_thread_fns structure is defined as follows:
struct ldap_thread_fns {LDAP_TF_MUTEX_ALLOC_CALLBACK *ltf_mutex_alloc;
LDAP_TF_MUTEX_FREE_CALLBACK *ltf_mutex_free;
LDAP_TF_MUTEX_LOCK_CALLBACK *ltf_mutex_lock;
LDAP_TF_MUTEX_UNLOCK_CALLBACK *ltf_mutex_unlock;
LDAP_TF_GET_ERRNO_CALLBACK *ltf_get_errno;
LDAP_TF_SET_ERRNO_CALLBACK *ltf_set_errno;
LDAP_TF_GET_LDERRNO_CALLBACK *ltf_get_lderrno;
LDAP_TF_SET_LDERRNO_CALLBACK *ltf_set_lderrno;
void *ltf_lderrno_arg;
};The fields in this structure are described below:
ldap_thread_fns structure, see Chapter 16, "Writing Multithreaded Clients."
Last Updated: 10/01/98 17:05:28