RDK Documentation (Open Sourced RDK Components)
|
Describe the details about RDK Logger utils API specifications.
const char * | rdk_logger_envGet (const char *name) |
This function will get value of the specified environment variable. More... | |
int | rdk_logger_envGetNum (const char *mod) |
Function will give the registered number of the specified environment variable. More... | |
const char * | rdk_logger_envGetValueFromNum (int number) |
This function is used to get the value of the specified environment variable based on its registered number. More... | |
const char * | rdk_logger_envGetModFromNum (int Num) |
This function is used to get the name of the specified environment variable based on its registered number. More... | |
rdk_Error | rdk_logger_env_add_conf_file (const char *path) |
This Function sets up the environment variable cache by parsing configuration file and adding each name/value pairs to the list. More... | |
const char* rdk_logger_envGet | ( | const char * | name | ) |
This function will get value of the specified environment variable.
[in] | name | It is a pointer to the name of the target environment variable. |
Definition at line 203 of file rdk_logger_util.c.
int rdk_logger_envGetNum | ( | const char * | mod | ) |
Function will give the registered number of the specified environment variable.
[in] | mod | It is a pointer to the name of the target environment variable. |
Definition at line 257 of file rdk_logger_util.c.
const char* rdk_logger_envGetValueFromNum | ( | int | number | ) |
This function is used to get the value of the specified environment variable based on its registered number.
[in] | number | Is a registered number of the target environment variable. |
Definition at line 231 of file rdk_logger_util.c.
const char* rdk_logger_envGetModFromNum | ( | int | Num | ) |
This function is used to get the name of the specified environment variable based on its registered number.
[in] | Num | Is a registered number of the target environment variable. |
Definition at line 285 of file rdk_logger_util.c.
rdk_Error rdk_logger_env_add_conf_file | ( | const char * | path | ) |
This Function sets up the environment variable cache by parsing configuration file and adding each name/value pairs to the list.
[in] | path | Path of the configuration file. |
Definition at line 97 of file rdk_logger_util.c.