Lines Matching refs:scope
182 char *urlcopy, *attrs, *scope, *extensions = NULL, *p, *q; in nsldapi_url_parse() local
288 scope = p; in nsldapi_url_parse()
290 if (( p = strchr( scope, '?' )) != NULL ) { in nsldapi_url_parse()
314 if ( strcasecmp( scope, "one" ) == 0 ) { in nsldapi_url_parse()
316 } else if ( strcasecmp( scope, "base" ) == 0 ) { in nsldapi_url_parse()
318 } else if ( strcasecmp( scope, "sub" ) == 0 ) { in nsldapi_url_parse()
320 } else if ( *scope != '\0' ) { in nsldapi_url_parse()
565 char *scope, in ldap_dns_to_url() argument
597 if (attrs || scope || filter) { in ldap_dns_to_url()
602 if (scope) in ldap_dns_to_url()
603 scope_len = strlen(scope) + 1; /* for NULL */ in ldap_dns_to_url()
675 if (scope) { in ldap_dns_to_url()
676 while (*scope) { in ldap_dns_to_url()
677 *cp2++ = *scope++; in ldap_dns_to_url()
685 if (scope) { in ldap_dns_to_url()
691 while (*scope) { in ldap_dns_to_url()
692 *cp2++ = *scope++; in ldap_dns_to_url()
705 if (scope) { in ldap_dns_to_url()
710 while (*scope) { in ldap_dns_to_url()
711 *cp2++ = *scope++; in ldap_dns_to_url()