search for: parse_main_config

Displaying 4 results from an estimated 4 matches for "parse_main_config".

2017 Mar 06
2
config_cwd can be killed?
...IMAGE_TYPE_CONFIG set the directory before processing the config file. Both menu.c32 and ldlinux.EXT have parse_configs() functions that they send the argc/argv list they receive. Both functions handle multiple arguments as multiple config files to be processed (with either parse_one_config() or parse_main_config()). The documentation (http://www.syslinux.org/wiki/index.php?title=Menu#Alternative_configuration_file) shows examples of this for the menu.c32 case. But this highlights that we have two different config file parsers with different behavior. I haven't looked closely to completely confirm bu...
2017 Mar 06
0
config_cwd can be killed?
...ope someone else will step up for testing. > > Both menu.c32 and ldlinux.EXT have parse_configs() functions that they > send the argc/argv list they receive. Both functions handle multiple > arguments as multiple config files to be processed (with either > parse_one_config() or parse_main_config()). The documentation > (http://www.syslinux.org/wiki/index.php?title=Menu#Alternative_configuration_file) > shows examples of this for the menu.c32 case. > > But this highlights that we have two different config file parsers > with different behavior. I haven't looked closely...
2017 Mar 06
1
config_cwd can be killed?
...dling the feedback from tests. > > Both menu.c32 and ldlinux.EXT have parse_configs() functions that they > > send the argc/argv list they receive. Both functions handle multiple > > arguments as multiple config files to be processed (with either > > parse_one_config() or parse_main_config()). The documentation > > (http://www.syslinux.org/wiki/index.php?title=Menu#Alternative_configuration_file) > > shows examples of this for the menu.c32 case. > > > > But this highlights that we have two different config file parsers > > with different behavior. I h...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...LS1_PADVER; +int bls1_ascend = BLS1_ASCEND; +int bls1_shwlbl = BLS1_SHWLBL; + const struct menu_parameter mparm[NPARAMS] = { [P_WIDTH] = {"width", 0}, [P_MARGIN] = {"margin", 10}, @@ -641,6 +653,7 @@ extern uint16_t PXERetry; static struct labeldata ld; static int parse_main_config(const char *filename); +static int parse_bls1_dir(const char *dirname); static char *is_kernel_type(char *cmdstr, enum kernel_type *type) { @@ -1239,6 +1252,40 @@ static void parse_config_file(FILE * f) default_cmd = refstrdup(skipspace(p + 2)); } + else if (looking_at(p, "bls1&...