Sun Java System Web Proxy Server 4.0.11 NSAPI Developer's Guide

util_uri_check

The util_uri_check function checks whether a URI has a format conforming to the standard.

At present, the only URI checked for is a URL. The standard format for a URL is

protocol://user:password@host:port/url-path

where user:password, :password. :port, or /url-path can be omitted.

Syntax

#include <libproxy/util.h>
int util_uri_check (char *uri);

Returns

Parameters

char *uri is the URI to be tested.