• Alessandro Rubini's avatar
    config: new config parser, to simplify further additions · d1f43bb1
    Alessandro Rubini authored
    This is a rewrite of the configuration parser, more based on data
    structures se we'll soon be able to read more than one configuration
    file (to add special cases while developing) and protocol extensions
    will be able to extend the table of allowed options.
    
    Both the configuration file format and the layout of the code calling
    lib/conf.c::pp_config_file() is unchanged in this commit. This means
    that even if you enable config diagnostics on the command line it
    won't have effect, because the config file is parsed before the
    command line. This is fixed by a later commit.
    
    The only visible change in this commit is that "port" is allowed as a
    synonim for "link", to be deprecated soon (but it will not be removed
    from the parsing of the config file). Thus, pp_instance->link_name is
    renamed to port_name.
    
    The compiled size of this commit is the same as the previous one.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    d1f43bb1
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-unix Loading commit data...
arch-wrpc Loading commit data...
arch-wrs Loading commit data...
doc Loading commit data...
etc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
time-bare Loading commit data...
time-unix Loading commit data...
time-wrpc Loading commit data...
time-wrs Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...