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


The vs_lookup_config_var function finds the value of a configuration variable for a given virtual server.

Do not FREE the returned string.


const char* vs_lookup_config_var(const VirtualServer* vs, const char* name);


A pointer to a string representing the value of variable name on success, or NULL if variable name was not found. Do not FREE this string.


const VirtualServer* vs represents the virtual server of interest.

const char* name is the name of the configuration variable.