Vs_Translate_Uri - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Note that the stored pointer is maintained on a per-
per-ID basis. Distinct
simultaneously with the same virtual server IDs. However, since these are distinct
s, they each have their own
VirtualServer*
result,
vs_set_data
processing (see
vs_register_cb
Syntax
void* vs_set_data(const VirtualServer* vs, int* slot, void* data);
Returns
Data on success,
NULL
Parameters
const VirtualServer*
is the slot number to store the pointer at.
int* slot
is the pointer to store.
void* data
See also
,
vs_get_data
vs_alloc_slot

vs_translate_uri

The
vs_translate_uri
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's responsibility to FREE this string.
Parameters
const VirtualServer*
URI.
is the URI to translate to an operating system path.
const char* uri
s from different configurations may exist
VirtualServer*
should generally not be called outside of
for an explanation of
on failure.
vs represents the virtual server to set the pointer for.
,
vs_register_cb
function translates a URI as though it were part of a
vs represents the virtual server for which to translate the
NSAPI Functions (in Alphabetical Order)
VirtualServer*
-specific data. As a
VirtualServer*
VSInitFunc
VSInitFunc
Chapter 5
NSAPI Function Reference
basis, not a
processing).
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents