Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

vs_get_default_httpd_object() Function

The vs_get_default_httpd_object function obtains a pointer to the default (or root) httpd_object from the virtual server's httpd_objset in the configuration defined by the obj.conf file of the virtual server class. The default object is typically named default. Plug-ins may only modify the httpd_object at VSInitFunc time. See vs_register_cb() Function for an explanation of VSInitFunc time.

Do not FREE the returned object.


httpd_object* vs_get_default_httpd_object(VirtualServer* vs);

Return Values

A pointer the default httpd_object, or NULL on failure. Do not FREE this object.


VirtualServer* vs represents the virtual server for which to find the default object.

See Also

vs_get_httpd_objset() Function, vs_register_cb() Function