AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Functions
config_env.h File Reference

Utilities to get config values from the environment. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...
 

Detailed Description

Utilities to get config values from the environment.

Definition in file config_env.h.

Function Documentation

int configvar_bool ( char *  varname)

Get the value of a boolean config variable from the env.

Parameters
varnameName of the env variable
Returns
1 or 0 depending on the truth value

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.

Here is the caller graph for this function:

int configvar_int ( char *  varname)

Get the value of a integer config variable from the env.

Parameters
varnameName of the env variable
Returns
The value of the variable

Definition at line 36 of file config_env.c.

Here is the caller graph for this function:

char* configvar_string ( char *  varname)

Get the value of a config variable from the env.

Parameters
varnameName of the env variable
Returns
A buffer containing the variable

Definition at line 29 of file config_env.c.

Here is the caller graph for this function: