Lines Matching defs:tfns
169 struct ldap_thread_fns tfns;
181 memset( &tfns, '\0', sizeof(struct ldap_thread_fns) );
182 tfns.ltf_get_errno = prldap_get_system_errno;
183 tfns.ltf_set_errno = prldap_set_system_errno;
185 tfns.ltf_mutex_alloc = prldap_mutex_alloc;
186 tfns.ltf_mutex_free = prldap_mutex_free;
187 tfns.ltf_mutex_lock = prldap_mutex_lock;
188 tfns.ltf_mutex_unlock = prldap_mutex_unlock;
190 tfns.ltf_get_lderrno = NULL;
191 tfns.ltf_set_lderrno = NULL;
193 tfns.ltf_get_lderrno = prldap_get_ld_error;
194 tfns.ltf_set_lderrno = prldap_set_ld_error;
202 if (( tfns.ltf_lderrno_arg = (void *)prldap_allocate_map( ld ))
211 (void *)&tfns ) != 0 ) {
213 prldap_return_map( (PRLDAP_TPDMap *)tfns.ltf_lderrno_arg );
354 struct ldap_thread_fns tfns;
357 if ( ldap_get_option( ld, LDAP_OPT_THREAD_FN_PTRS, (void *)&tfns ) != 0 ) {
361 if ( tfns.ltf_lderrno_arg == NULL && tfns.ltf_get_lderrno != NULL ) {
362 if (( tfns.ltf_lderrno_arg = (void *)prldap_allocate_map( ld )) == NULL
364 (void *)&tfns ) != 0 ) {
382 struct ldap_thread_fns tfns;
385 (void *)&tfns ) == 0 &&
386 tfns.ltf_lderrno_arg != NULL ) {
387 prldap_return_map( (PRLDAP_TPDMap *)tfns.ltf_lderrno_arg );