Vs_Alloc_Slot; Vs_Get_Data - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NSAPI Functions (in Alphabetical Order)
V

vs_alloc_slot

The
vs_alloc_slot
specific to a certain
subsequent
valid for any
The value of the pointer (which may be returned by a call to
to
NULL
Syntax
int vs_alloc_slot(void);
Returns
A slot number on success, or
See also

vs_get_data

vs_get_data
The
vs_get_data
VirtualServer*
vs_alloc_slot
Syntax
void* vs_get_data(const VirtualServer* vs, int slot);
Returns
The value of the pointer previously stored via
Parameters
const VirtualServer*
int slot
See also
vs_set_data
204
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
function allocates a new slot for storing a pointer to data
VirtualServer*
and
vs_set_data
VirtualServer*
for every
VirtualServer*
,
vs_set_data
function finds the value of a pointer to data for a given
and
. The
slot
or
vs_set_data
vs represents the virtual server to query the pointer for.
is the slot number to retrieve the pointer from.
,
vs_alloc_slot
. The returned slot number may be used in
calls. The returned slot number is
vs_get_data
.
.
on failure.
-1
must be a slot number returned from
slot
.
vs_set_data
) defaults
vs_set_data
, or
on failure.
NULL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents