NSAPI Functions (in Alphabetical Order)
206
Netscape Enterprise Server NSAPI Programmer’s Guide • November 2001
vs_get_httpd_objset
The
vs_get_httpd_objset
function obtains a pointer to the
httpd_objset
(the
configuration defined by the
obj.conf
file of the virtual server class) for a given
virtual server. Plugins may only modify the
httpd_objset
at
VSInitFunc
time
(see
vs_register_cb
for an explanation of
VSInitFunc
time).
Do not FREE the returned objset.
Syntax
httpd_objset* vs_get_httpd_objset(VirtualServer* vs);
Returns
A pointer to the
httpd_objset
, or NULL on failure. Do not FREE this objset.
Parameters
VirtualServer* vs
represents the virtual server for which to find the objset.
See also
vs_get_default_httpd_object
,
vs_register_cb
vs_get_id
The
vs_get_id
function finds the ID of a
VirtualServer*
.
The ID of a virtual server is a unique null-terminated string that remains constant
across configurations. Note that while IDs remain constant across configurations,
the value of
VirtualServer*
pointers do not.
Do not FREE the virtual server ID string. If called during request processing, the
string will remain valid for the duration of the current request. If called during
VSInitFunc
processing, the string will remain valid until after the corresponding
VSDestroyFunc
function has returned (see
vs_register_cb
).
To retrieve a
VirtualServer*
that is valid only for the current request, use
request_get_vs
.
Syntax
const char* vs_get_id(const VirtualServer* vs);
Returns
A pointer to a string representing the virtual server ID. Do not FREE this string.
Parameters
const VirtualServer*
vs represents the virtual server of interest.
Summary of Contents for ENTERPRISE SERVER 6.0
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 134: ...CGI to NSAPI Conversion 134 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 306: ...cinfo 306 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 312: ...Sample MIME Types File 312 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 324: ...Buffered Streams 324 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 332: ...332 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 340: ...340 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 346: ...346 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 352: ...352 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...