CFL v0.5 - Reference Manual


extern long cfl_section_get_values_count

(const cflh_t HANDLE,
  const char* SECTION_NAME )

Gets the number of variables from a section.

Documentation

Gets the number of variables from a section.
Parameters:
HANDLE - The cfl handle to use
SECTION_NAME - The name of the section to get the number of values from
Returns:
the number of variables into the section SECTION_NAME of the CFG config data structure.
the number of variables in case of success.
-1 in case of failure.
Preconditions:
HANDLE must be a valid cfl handle
See Also:
cfl_section_add()
cfl_section_remove()

Alphabetic index


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