int CfgFindVariable

( t_config* p_Cfg, char* psz_Name )

API-Function

Documentation

API-Function

find variable with 'psz_Name' in the current branch of 'p_Cfg'. this function only inspects the current branch, it will neither walk up nor down the tree.

defined in 'cconfig.c'

Parameters:
p_Cfg - a valid pointer to a t_config
- psz_Name the name of the variable to find
Returns:
0 not found
1 found
Preconditions:
p_Cfg must be valid or this function will simply do nothing
p_Cfg->n_Error must be CFGERROR_OK or this function will simply do nothing
See Also:
CfgFindSection
CfgSetToVariable
CfgSetToSection
CfgFindVariable_global
CfgFindSection_global

Alphabetic index



This page was generated with the help of DOC++.