Vs_Get_Default_Httpd_Object; Vs_Get_Doc_Root - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

vs_get_default_httpd_object

The
vs_get_default_httpd_object
root)
from the virtual server's
httpd_object
defined by the
obj.conf
typically named
default
time (see
VSInitFunc
Do not FREE the returned object.
Syntax
httpd_object* vs_get_default_httpd_object(VirtualServer* vs);
Returns
A pointer the default
Parameters
VirtualServer* vs
object.
See also
vs_get_httpd_objset

vs_get_doc_root

The
vs_get_doc_root
returned string is the full operating system path to the document root.
The caller should FREE the returned string when done with it.
Syntax
char* vs_get_doc_root(const VirtualServer* vs);
Returns
A pointer to a string representing the full operating system path to the document
root. It is the caller's responsibility to FREE this string.
Parameters
const VirtualServer*
document root.
function obtains a pointer to the default (or
file of the virtual server class). The default object is
. Plugins may only modify the
for an explanation of
vs_register_cb
, or
httpd_object
NULL
represents the virtual server for which to find the default
,
vs_register_cb
function finds the document root for a virtual server. The
vs represents the virtual server for which to find the
NSAPI Functions (in Alphabetical Order)
(in the configuration
httpd_objset
httpd_object
VSInitFunc
on failure. Do not FREE this object.
Chapter 5
NSAPI Function Reference
at
time).
205

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents