NSAPI Functions (in Alphabetical Order)
Parameters
char *cookie
char *name
util_env_find
The
environment and returns the associated value. Use this function to find an entry in
an environment.
Syntax
char *util_env_find(char **env, char *name);
Returns
The value of the environment variable if it is found or NULL if the string was not
found.
Parameters
char **env
char *name
See also
util_env_replace, util_env_str, util_env_free, util_env_create
util_env_free
The
deallocate an environment you created using the function
Syntax
void util_env_free(char **env);
Returns
void
Parameters
char **env
See also
util_env_replace, util_env_str, util_env_find, util_env_create
192
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
is the value of the Cookie: request header.
is the name of the cookie whose value is to be retrieved.
function locates the string denoted by a name in a specified
util_env_find
is the environment.
is the name of an environment variable in env.
function frees a specified environment. Use this function to
util_env_free
is the environment to be freed.
.
util_env_create