KVIrc  4.9.2
DeveloperAPIs
Functions
KviEnvironment Namespace Reference

Functions

char * getVariable (const char *name)
 Gets environment variable. More...
 
bool setVariable (const char *name, const char *value)
 Sets environment variable. More...
 
void unsetVariable (const char *name)
 Unsets environment variable. More...
 

Function Documentation

char* KviEnvironment::getVariable ( const char *  name)
inline

Gets environment variable.

Parameters
nameThe name of the variable to get
Returns
char *

Referenced by KviLocale::KviLocale(), and system_kvs_fnc_getenv().

KVILIB_API bool KviEnvironment::setVariable ( const char *  name,
const char *  value 
)

Sets environment variable.

Parameters
nameThe name of the variable to set
valueThe value of the variable
Returns
bool

Referenced by system_kvs_cmd_setenv().

KVILIB_API void KviEnvironment::unsetVariable ( const char *  name)

Unsets environment variable.

Parameters
nameThe name of the variable to set
Returns
void

Referenced by system_kvs_cmd_setenv().