Lines Matching refs:ld

79           LDAP *ld,  in ldap_create_persistentsearch_control_value()  argument
89 assert( ld != NULL ); in ldap_create_persistentsearch_control_value()
90 assert( LDAP_VALID( ld ) ); in ldap_create_persistentsearch_control_value()
92 if ( ld == NULL ) return LDAP_PARAM_ERROR; in ldap_create_persistentsearch_control_value()
94 ld->ld_errno = LDAP_PARAM_ERROR; in ldap_create_persistentsearch_control_value()
98 ld->ld_errno = LDAP_PARAM_ERROR; in ldap_create_persistentsearch_control_value()
104 ld->ld_errno = LDAP_SUCCESS; in ldap_create_persistentsearch_control_value()
106 ber = ldap_alloc_ber_with_options( ld ); in ldap_create_persistentsearch_control_value()
108 ld->ld_errno = LDAP_NO_MEMORY; in ldap_create_persistentsearch_control_value()
109 return ld->ld_errno; in ldap_create_persistentsearch_control_value()
118 ld->ld_errno = LDAP_NO_MEMORY; in ldap_create_persistentsearch_control_value()
123 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_create_persistentsearch_control_value()
130 return ld->ld_errno; in ldap_create_persistentsearch_control_value()
180 LDAP *ld, in ldap_create_persistentsearch_control() argument
189 assert( ld != NULL ); in ldap_create_persistentsearch_control()
190 assert( LDAP_VALID( ld ) ); in ldap_create_persistentsearch_control()
192 if ( ld == NULL ) { in ldap_create_persistentsearch_control()
197 ld->ld_errno = LDAP_PARAM_ERROR; in ldap_create_persistentsearch_control()
198 return ld->ld_errno; in ldap_create_persistentsearch_control()
201ld->ld_errno = ldap_create_persistentsearch_control_value( ld, changetypes, changesonly, return_ec… in ldap_create_persistentsearch_control()
202 if ( ld->ld_errno == LDAP_SUCCESS ) { in ldap_create_persistentsearch_control()
203 ld->ld_errno = ldap_control_create( LDAP_CONTROL_PERSIST_REQUEST, in ldap_create_persistentsearch_control()
205 if ( ld->ld_errno != LDAP_SUCCESS ) { in ldap_create_persistentsearch_control()
210 return ld->ld_errno; in ldap_create_persistentsearch_control()
256 LDAP *ld, in ldap_parse_entrychange_control() argument
268 assert( ld != NULL ); in ldap_parse_entrychange_control()
269 assert( LDAP_VALID( ld ) ); in ldap_parse_entrychange_control()
272 if (ld == NULL) { in ldap_parse_entrychange_control()
277 ld->ld_errno = LDAP_PARAM_ERROR; in ldap_parse_entrychange_control()
278 return(ld->ld_errno); in ldap_parse_entrychange_control()
282 ld->ld_errno = LDAP_DECODING_ERROR; in ldap_parse_entrychange_control()
283 return(ld->ld_errno); in ldap_parse_entrychange_control()
290 ld->ld_errno = LDAP_NO_MEMORY; in ldap_parse_entrychange_control()
291 return(ld->ld_errno); in ldap_parse_entrychange_control()
307 ld->ld_errno = LDAP_DECODING_ERROR; in ldap_parse_entrychange_control()
308 return(ld->ld_errno); in ldap_parse_entrychange_control()
324 ld->ld_errno = LDAP_DECODING_ERROR; in ldap_parse_entrychange_control()
325 return(ld->ld_errno); in ldap_parse_entrychange_control()
338 ld->ld_errno = LDAP_DECODING_ERROR; in ldap_parse_entrychange_control()
339 return(ld->ld_errno); in ldap_parse_entrychange_control()
351 ld->ld_errno = LDAP_SUCCESS; in ldap_parse_entrychange_control()
352 return(ld->ld_errno); in ldap_parse_entrychange_control()