Lines Matching defs:url
172 char *p, *url, *prefix ="file:";
182 if (( url = malloc( strlen( prefix ) + 3 * strlen( path ) + 1 )) == NULL ) {
186 strcpy( url, prefix );
187 p = url + strlen( prefix );
209 *urlp = url;
235 const char *url = NULL;
238 /* recognize "attr :< url" syntax if LDIF version is >= 1 */
248 for ( url = value + 1; isspace( *url ); ++url ) {
252 if (strlen(url) > 7 && strncasecmp(url, "file://", 7) != 0) {
256 url = NULL;
260 if ( NULL != url ) {
263 rc = ldaptool_fileurl2path( url, &path );
267 " use a file:// URL instead.\n"), ldaptool_progname, url );
273 " missing path.\n"), ldaptool_progname, url );
280 ldaptool_progname, url );
304 " -- unknown error\n"), ldaptool_progname, url );