CFL v0.5 - Reference Manual


extern void* cfl_value_get_by_name

(cflh_t HANDLE,
  const char* SECTION_NAME,
  const char* VALUE_NAME,
  cfl_value_type_t* VALUE_TYPE )

Gets a value by its name from a section in cfl handle.

Documentation

Gets a value by its name from a section in cfl handle.
Parameters:
HANDLE - The cfl handle from which getting the value
SECTION_NAME - The name of the section in which the value is
VALUE_NAME - The name of the value to get
VALUE_TYPE - The address in which the type of the value will go
Returns:
the address of the value V_NAME from the section S_NAME in case of success. The type of the found value is set to V_TYPE.
NULL in case of failure.
Preconditions:
HANDLE must be a valid cfl handle
See Also:
cfl_value_set_by_name()
cfl_value_get_by_position()

Alphabetic index


CFL Reference Manual
Last modified: Wed Nov 13 15:55:38 CET 2002