Util_Env_Replace; Util_Env_Str - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

util_env_replace

The
util_env_replace
by a name in a specified environment with a specified value. Use this function to
change the value of a setting in an environment.
Syntax
void util_env_replace(char **env, char *name, char *value);
Returns
void
Parameters
is the environment.
char **env
is the name of a name-value pair.
char *name
is the new value to be stored.
char *value
See also
util_env_str, util_env_free, util_env_find, util_env_create

util_env_str

The
function creates an environment entry and returns it. This
util_env_str
function does not check for non alphanumeric symbols in the name (such as the
equal sign "="). You can use this function to create a new environment entry.
Syntax
char *util_env_str(char *name, char *value);
Returns
A newly-allocated string containing the name-value pair
Parameters
is the name of a name-value pair.
char *name
is the new value to be stored.
char *value
See also
util_env_replace, util_env_free, util_env_find, util_env_create
function replaces the occurrence of the variable denoted
NSAPI Functions (in Alphabetical Order)
Chapter 5
NSAPI Function Reference
193

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents