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


The protocol_uri2url function takes strings containing the given URI prefix and URI suffix, and creates a newly allocated, fully qualified URL in the form http:// server : port prefix suffix. See protocol_uri2url_dynamic.

If you want to omit either the URI prefix or suffix, use "" instead of NULL as the value for either parameter.


char *protocol_uri2url(char *prefix, char *suffix);


A new string containing the URL.


char *prefix is the prefix.

char *suffix is the suffix.

See Also

protocol_start_response, protocol_status, pblock_nvinsert, protocol_uri2url_dynamic