Lines Matching refs:entry

48 static int do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
53 LDAPMessage *entry, struct ldap_disptmpl *tmpllist, char **defattrs,
67 static int searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
98 LDAPMessage *entry,
117 rv = do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
122 return( do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
133 LDAPMessage *entry,
158 rv = do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
163 return( do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
174 LDAPMessage *entry,
191 if (( dn = ldap_get_dn( ld, entry )) == NULL ) {
284 for ( attr = ldap_first_attribute( ld, entry, &ber );
286 attr = ldap_next_attribute( ld, entry, ber )) {
287 if (( vals = ldap_get_values( ld, entry, attr )) == NULL ) {
322 entry, colp->ti_attrname )) == NULL ) {
362 err = searchaction( ld, buf, base, entry, dn, colp,
400 char *dn, /* if NULL, use entry */
402 LDAPMessage *entry, /* if NULL, use dn */
421 rv = do_entry2text_search( ld, dn, base, entry, tmpllist, defattrs,
426 return( do_entry2text_search( ld, dn, base, entry, tmpllist, defattrs,
436 char *dn, /* if NULL, use entry */
438 LDAPMessage *entry, /* if NULL, use dn */
458 rv = do_entry2text_search( ld, dn, base, entry, tmpllist, defattrs,
463 return( do_entry2text_search( ld, dn, base, entry, tmpllist, defattrs,
472 char *dn, /* if NULL, use entry */
474 LDAPMessage *entry, /* if NULL, use dn */
492 if ( dn == NULL && entry == NULLMSG ) {
521 if (( dn = ldap_get_dn( ld, entry )) == NULL ) {
535 if ( entry == NULL ) {
550 entry = ldap_first_entry( ld, ldmp );
554 if ( entry != NULL ) {
555 vals = ldap_get_values( ld, entry, OCATTRNAME );
566 entry = NULL;
591 ( entry = ldap_first_entry( ld, ldmp )) == NULL ) {
599 err = do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
1073 searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry, char *dn,
1105 } else if (( vals = ldap_get_values( ld, entry, attr )) != NULL ) {
1152 for ( i = 0, entry = ldap_first_entry( ld, ldmp );
1153 entry != NULL;
1154 entry = ldap_next_entry( ld, entry ), ++i ) {
1155 members[ i ] = ldap_get_dn( ld, entry );