CFL v0.5 - Reference Manual


extern int cfl_section_insert

(cflh_t HANDLE,
  const char* SECTION_NAME )

Adds a new section into a cfl handle.

Documentation

Adds a new section into a cfl handle. Adds a new section named SECTION_NAME into the cfl HANDLE.
Parameters:
HANDLE - The cfl handle in which the new section must go
SECTION_NAME - The name of the new section to add
Returns:
0 in case of success.
-1 if a section named SECTION_NAME already exists.
-2 in other cases of failure.
Preconditions:
HANDLE must be a valid cfl handle
See Also:
cfl_section_remove()

Alphabetic index


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