--- embedaddon/confuse/doc/html/structcfg__t.html 2017/01/24 14:48:55 1.1.1.1 +++ embedaddon/confuse/doc/html/structcfg__t.html 2021/03/17 00:49:17 1.1.1.2 @@ -1,98 +1,148 @@ - - + + - - confuse: cfg_t Struct Reference - + + + +confuse: cfg_t Struct Reference + + + + + + + +
+
+ + + + + + +
+
confuse +  3.3 +
+
+
+ + + + + + + + +
+
-
- - - - +
+ +
+
cfg_t Struct Reference
+
-

cfg_t Struct Reference

Data structure holding information about a "section". -More... -

-#include <confuse.h> -

- - - - - - +

Data structure holding information about a "section". + More...

- - - - - - - - - - - - - - - - +

#include <confuse.h>

+

Data Fields

-cfg_flag_t flags
 Any flags passed to cfg_init().
-char * name
 The name of this section, the root section returned from cfg_init() is always named "root".
-cfg_opt_topts
 Array of options.
-char * title
 Optional title for this section, only set if CFGF_TITLE flag is set.
-char * filename
 Name of the file being parsed.
-int line
 Line number in the config file.
cfg_errfunc_t errfunc
 This function (if set with cfg_set_error_function) is called for any error message.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Data Fields

+cfg_flag_t flags
 Any flags passed to cfg_init()
 
+char * name
 The name of this section, the root section returned from cfg_init() is always named "root".
 
+char * comment
 Optional annotation/comment.
 
+cfg_opt_topts
 Array of options.
 
+char * title
 Optional title for this section, only set if CFGF_TITLE flag is set.
 
+char * filename
 Name of the file being parsed.
 
+int line
 Line number in the config file.
 
cfg_errfunc_t errfunc
 This function (if set with cfg_set_error_function) is called for any error message. More...
 
+cfg_searchpath_t * path
 Linked list of directories to search.
 
+cfg_print_filter_func_t pff
 Printing filter function.
 
-


Detailed Description

-Data structure holding information about a "section". -

-Sections can be nested. A section has a list of options (strings, numbers, booleans or other sections) grouped together.

Examples:
+

Detailed Description

+

Data structure holding information about a "section".

+

Sections can be nested. A section has a list of options (strings, numbers, booleans or other sections) grouped together.

+
Examples
ftpconf.c, reread.c, and simple.c.
+
+

Field Documentation

+ +

◆ errfunc

-

-ftpconf.c, reread.c, and simple.c.


Field Documentation

-
-
+
-

-This function (if set with cfg_set_error_function) is called for any error message. -

+

This function (if set with cfg_set_error_function) is called for any error message.

-

Referenced by cfg_error(), cfg_init(), cfg_set_error_function(), and cfg_setopt().

-
-

- -
- +
+ + +