Allow include() directive for libconfuse formatted config
authorThilo Schulz <thilo@tjps.eu>
Sat, 10 Oct 2015 13:04:39 +0000 (15:04 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 16 Oct 2015 11:29:34 +0000 (13:29 +0200)
 file in ftdi_eeprom

ftdi_eeprom/main.c

index 0d75c24..455f156 100644 (file)
@@ -252,6 +252,7 @@ int main(int argc, char *argv[])
         CFG_BOOL("chb_rs485", cfg_false, 0),
         CFG_BOOL("chc_rs485", cfg_false, 0),
         CFG_BOOL("chd_rs485", cfg_false, 0),
+        CFG_FUNC("include", &cfg_include),
         CFG_END()
     };
     cfg_t *cfg;