![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 208](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653208.webp)
NSAPI Functions (in Alphabetical Order)
208
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
V
vs_alloc_slot
The
vs_alloc_slot
function allocates a new slot for storing a pointer to data
specific to a certain
VirtualServer*
. The returned slot number may be used in
subsequent
vs_set_data
and
vs_get_data
calls. The returned slot number is
valid for any
VirtualServer*
.
The value of the pointer (which may be returned by a call to
vs_set_data
) defaults
to
NULL
for every
VirtualServer*
.
Syntax
int vs_alloc_slot(void);
Returns
A slot number on success, or
-1
on failure.
See also
vs_get_data
,
vs_set_data
vs_get_data
The
vs_get_data
function finds the value of a pointer to data for a given
VirtualServer*
and
slot
. The
slot
must be a slot number returned from
vs_alloc_slot
or
vs_set_data
.
Syntax
void* vs_get_data(const VirtualServer* vs, int slot);
Returns
The value of the pointer previously stored via
vs_set_data
, or
NULL
on failure.
Parameters
const VirtualServer*
vs represents the virtual server to query the pointer for.
int slot
is the slot number to retrieve the pointer from.
See also
vs_set_data
,
vs_alloc_slot
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...