Lines Matching defs:ld
42 ldap_set_string_translators( LDAP *ld, BERTranslateProc encode_proc,
45 if ( ld == NULL ) {
49 ld = &nsldapi_ld_defaults;
52 if ( NSLDAPI_VALID_LDAP_POINTER( ld )) {
53 ld->ld_lber_encode_translate_proc = encode_proc;
54 ld->ld_lber_decode_translate_proc = decode_proc;
60 ldap_enable_translation( LDAP *ld, LDAPMessage *entry, int enable )
64 if ( ld == NULL ) {
68 ld = &nsldapi_ld_defaults;
71 optionsp = ( entry == NULLMSG ) ? &ld->ld_lberoptions :
83 ldap_translate_from_t61( LDAP *ld, char **bufp, unsigned long *lenp,
88 if ( ld->ld_lber_decode_translate_proc == NULL ) {
92 return( (*ld->ld_lber_decode_translate_proc)( bufp, &length, free_input ));
97 ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp,
102 if ( ld->ld_lber_encode_translate_proc == NULL ) {
106 return( (*ld->ld_lber_encode_translate_proc)( bufp, &length, free_input ));
1068 LDAPDebug( LDAP_DEBUG_TRACE, "ldap_t61_to_8859 input length: %ld\n",
1605 LDAPDebug( LDAP_DEBUG_TRACE, "ldap_8859_to_t61 input length: %ld\n",