extern int cfl_value_set_by_name

(cflh_t HANLDE,
  const char* SECTION_NAME,
  const char* VALUE_NAME,
  const cfl_value_type_t VALUE_TYPE,
  void* VALUE )

Modifies a value of a cfl handle.

Documentation

Modifies a value of a cfl handle. Changes the value VALUE_NAME of the section SECTION_NAME into the cfl HANDLE with type VALUE_TYPE and value VALUE.
Parameters:
HANDLE - The cfl handle in which the value must be modified
SECTION_NAME - The section in which the value is
VALUE_NAME - The name of the value to modify
VALUE_TYPE - The new type of the value
VALUE - The new value of the value
Returns:
0 in case of success.
CFL_ERR_MALLOC in case of insufficient memory.
CFL_ERR_SECTION_NOT_EXISTS if the SECTION_NAME does not exists.
CFL_ERR_VALUE_NOT_EXISTS if the VALUE_NAME does not exists.
Preconditions:
HANDLE must be a valid cfl handle
See Also:
cfl_value_get_by_name()
cfl_value_get_by_position()

Alphabetic index


f