Lines Matching defs:url
12 * LIBLDAP url.c -- LDAP URL related routines
72 ldap_is_ldap_url( char *url )
76 return( url != NULL && skip_url_prefix( &url, &enclosed ));
174 ldap_url_parse( char *url, LDAPURLDesc **ludpp )
187 Debug( LDAP_DEBUG_TRACE, catgets(slapdcat, 1, 262, "ldap_url_parse(%s)\n"), url, 0, 0 );
191 if ( !skip_url_prefix( &url, &enclosed )) {
204 if (( url = strdup( url )) == NULL ) {
209 if ( enclosed && *((p = url + strlen( url ) - 1)) == '>' ) {
220 ludp->lud_string = url;
223 if (( ludp->lud_dn = strchr( url, '/' )) != NULL ) {
229 if (( p = strchr( url, ':' )) != NULL ) {
234 if ( *url == '\0' ) {
237 ludp->lud_host = url;
360 ldap_url_search( LDAP *ld, char *url, int attrsonly )
370 if ( ldap_url_parse( url, &ludp ) != 0 ) {
424 ldap_url_search_st( LDAP *ld, char *url, int attrsonly,
430 if (( msgid = ldap_url_search( ld, url, attrsonly )) == -1 ) {
460 ldap_url_search_s( LDAP *ld, char *url, int attrsonly, LDAPMessage **res )
465 if (( msgid = ldap_url_search( ld, url, attrsonly )) == -1 ) {
559 char *url = 0;
579 if ((url = ldap_dn_to_url(ld, dn, nameparts)) == NULL) {
598 if (ldap_is_ldap_url(url)) {
601 filter_len + strlen(url) + 1)) == NULL) {
604 cp = url;
752 free (url);
753 url = url2;
759 return (url);
791 char *url = 0;
800 while (dn && (nameparts > 1) && (! url)) {
815 if ((url = strdup((char *)vals[0])) !=
825 if (! url) {
835 return (url);