Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

vs_translate_uri() Function

The vs_translate_uri function translates a URI as though the URI were part of a request for a specific virtual server. The returned string is the full operating system path.

The caller should FREE the returned string when done with it.


char* vs_translate_uri(const VirtualServer* vs, const char* uri);

Return Values

A pointer to a string representing the full operating system path for the given URI. The caller must FREE this string.


const VirtualServer* vs represents the virtual server for which to translate the URI.

const char* uri is the URI to translate to an operating system path.