Sun Java System Web Server 6.1 SP9 NSAPI Programmer's Guide


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 for an explanation of VSInitFunc time).

Do not FREE the returned object.


httpd_object* vs_get_default_httpd_object(VirtualServer* vs);


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, vs_register_cb