CFL v0.5 - Reference Manual


extern int cfl_value_set_by_name

(cflh_t HANLDE,
  const char* S_NAME,
  const char* V_NAME,
  const cfl_value_type_t V_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.
-1 if no section SECTION_NAME is found.
-2 if no value VALUE_NAME is found.
-3 in other cases of failure.
Preconditions:
HANDLE must be a valid cfl handle
See Also:
cfl_value_get_by_name()
cfl_value_get_by_position()

Alphabetic index


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