extern int cfl_section_remove

(cflh_t HANDLE,
  const char* SECTION_NAME )

Removes a section from a cfl handle.

Documentation

Removes a section from a cfl handle. Removes the section named SECTION_NAME with all its values from the cfl HANDLE.
Parameters:
HANDLE - The cfl handle to remove the section from
SECTION_NAME - The name of the section to remove
Returns:
0 in case of success.
CFL_ERR_SECTION_NOT_EXISTS if the SECTION_NAME does not exists or if SECTION_NAME == NULL (the built-in section could not be removed).
Preconditions:
HANDLE must be a valid cfl handle
See Also:
cfl_section_insert()

Alphabetic index


f