/* result.c - shell backend result reading function */
/* $OpenLDAP$ */
/*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
Connection *conn,
Operation *op,
FILE *fp,
- char **attrs,
+ AttributeName *attrs,
int attrsonly
)
{
Debug( LDAP_DEBUG_ANY, "str2entry(%s) failed\n",
buf, 0, 0 );
} else {
- send_search_entry( be, conn, op, e, attrs,
- attrsonly, NULL );
+ send_search_entry( be, conn, op, e,
+ attrs, attrsonly, NULL );
entry_free( e );
}
int i;
for ( i = 0; be->be_suffix[i] != NULL; i++ ) {
- fprintf( fp, "suffix: %s\n", be->be_suffix[i].bv_val );
+ fprintf( fp, "suffix: %s\n", be->be_suffix[i]->bv_val );
}
}