Lines Matching defs:value
872 * Return the value of an environment variable from the variable array.
879 * Pointer to variable value.
890 return (envp->value);
899 * Adds an environment variable name/value pair to the environment
905 * val (input) - value.
912 ndmpd_api_add_env(void *cookie, char *name, char *value)
932 valbuf = strdup(value);
940 session->ns_data.dd_env[session->ns_data.dd_env_len].value = valbuf;
951 * Sets an environment variable name/value pair in the environment
952 * variable list. If the variable exists, it gets the new value,
958 * val (input) - value.
965 ndmpd_api_set_env(void *cookie, char *name, char *value)
973 rv = ndmpd_api_add_env(cookie, name, value);
974 } else if (!(valbuf = strdup(value))) {
978 free(envp->value);
979 envp->value = valbuf;