Sun Java System Web Server 7.0 NSAPI Developer's Guide

vs_translate_uri

The vs_translate_uri function translates a URI as though it 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.

Syntax

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

Returns

A pointer to a string representing the full operating system path for the given URI. It is the caller\qs responsibility to FREE this string.

Parameters

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.