|
AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
|
Utilities to get config values from the environment. More...
#include "logger.h"#include <stdio.h>#include <string.h>#include <stdlib.h>#include "config_env.h"
Go to the source code of this file.
Macros | |
| #define | LOG_TAG "config_env" |
Functions | |
| char * | configvar_string (char *varname) |
| Get the value of a config variable from the env. More... | |
| int | configvar_int (char *varname) |
| Get the value of a integer config variable from the env. More... | |
| int | configvar_bool (char *varname) |
| Get the value of a boolean config variable from the env. More... | |
Utilities to get config values from the environment.
Definition in file config_env.c.
| #define LOG_TAG "config_env" |
Definition at line 11 of file config_env.c.
| int configvar_bool | ( | char * | varname | ) |
Get the value of a boolean config variable from the env.
| varname | Name of the env variable |
A "true" value can be Y/y/1 and a "false" value can be N/n/0.
Definition at line 45 of file config_env.c.

| int configvar_int | ( | char * | varname | ) |
Get the value of a integer config variable from the env.
| varname | Name of the env variable |
Definition at line 36 of file config_env.c.

| char* configvar_string | ( | char * | varname | ) |
Get the value of a config variable from the env.
| varname | Name of the env variable |
Definition at line 29 of file config_env.c.

1.8.6