--- embedaddon/confuse/doc/tutorial-html/ar01s08.html 2017/01/24 14:48:55 1.1 +++ embedaddon/confuse/doc/tutorial-html/ar01s08.html 2021/03/17 00:49:17 1.1.1.2 @@ -1,6 +1,5 @@ - - -8. Functions

8. Functions

+ +8. Functions

8. Functions

libConfuse supports functions to parse options that does not fit well in the general syntax. Functions can be called with a variable number of arguments. No data from the function or any arguments are @@ -14,7 +13,7 @@ typedef int (*cfg_func_t)(cfg_t *cfg, cfg_opt_t *opt, int argc, const char **argv);

-

8.1. Predefined functions

+

8.1. Predefined functions

Currently there is only one pre-defined function: cfg_include(). This function includes another configuration file. Configuration data is immediately @@ -32,4 +31,4 @@ cfg_opt_t opts[] = { In the configuration file, it is used in the following way:

 include("included.conf")
-            
+
\ No newline at end of file