Lines Matching defs: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,
87 LDAPMessage *entry,
100 return( do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
112 LDAPMessage *entry,
131 return( do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
141 LDAPMessage *entry,
163 !NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )) {
169 if (( dn = ldap_get_dn( ld, entry )) == NULL ) {
263 for ( attr = ldap_first_attribute( ld, entry, &ber );
265 attr = ldap_next_attribute( ld, entry, ber )) {
266 if (( vals = ldap_get_values( ld, entry, attr )) == NULL ) {
309 entry, colp->ti_attrname )) == NULL ) {
349 err = searchaction( ld, buf, base, entry, dn, colp,
388 char *dn, /* if NULL, use entry */
390 LDAPMessage *entry, /* if NULL, use dn */
403 return( do_entry2text_search( ld, dn, base, entry, tmpllist, defattrs,
413 char *dn, /* if NULL, use entry */
415 LDAPMessage *entry, /* if NULL, use dn */
429 return( do_entry2text_search( ld, dn, base, entry, tmpllist, defattrs,
437 char *dn, /* if NULL, use entry */
439 LDAPMessage *entry, /* if NULL, use dn */
461 if ( dn == NULL && entry == NULLMSG ) {
482 if (( dn = ldap_get_dn( ld, entry )) == NULL ) {
493 if ( entry == NULL ) {
508 entry = ldap_first_entry( ld, ldmp );
512 if ( entry != NULL ) {
513 vals = ldap_get_values( ld, entry, OCATTRNAME );
524 entry = NULL;
549 ( entry = ldap_first_entry( ld, ldmp )) == NULL ) {
554 err = do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
1037 searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry, char *dn,
1069 } else if (( vals = ldap_get_values( ld, entry, attr )) != NULL ) {
1116 for ( i = 0, entry = ldap_first_entry( ld, ldmp );
1117 entry != NULL;
1118 entry = ldap_next_entry( ld, entry ), ++i ) {
1119 members[ i ] = ldap_get_dn( ld, entry );