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