Lines Matching refs:attrs
181 char *attrs = NULL;
243 if (( attrs = strchr( ludp->lud_dn, '?' )) != NULL ) {
244 /* terminate dn; point to start of attrs. */
245 *attrs++ = '\0';
247 /* scan for '?' that marks end of attrs and begin. of scope */
248 if (( p = strchr( attrs, '?' )) != NULL ) {
250 * terminate attrs; point to start of scope and scan for
293 * if attrs list was included, turn it into a null-terminated array
295 if ( attrs != NULL && *attrs != '\0' ) {
296 for ( nattrs = 1, p = attrs; *p != '\0'; ++p ) {
308 for ( i = 0, p = attrs; i < nattrs; ++i ) {
540 * If attrs is not NULL then it is appended to the URL's attribute list.
553 char *attrs,
586 if (attrs || scope || filter) {
588 if (attrs)
589 attrs_len = strlen(attrs) + 2; /* for comma and NULL */
620 if (attrs) {
621 while (*attrs) {
622 *cp2++ = *attrs++;
636 if (attrs) {
638 while (*attrs) {
639 *cp2++ = *attrs++;
646 if (attrs) {
648 while (*attrs) {
649 *cp2++ = *attrs++;
792 char *attrs[2] = {"labeledURI", 0};
804 "(objectClass=*)", attrs, 0, &res) == LDAP_SUCCESS) {