register_syncdb: reject db names that include /

alpm downloads databases based on basename causing [foo] and [bar/foo]
to silently overwrite each other.

Also remove an extra tab.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
conf.c: fix typo repoistory -> repository

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
conf.c: store repo settings in dedicated struct

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
conf.c: use masks for siglevel inheritance

This will allow pacman to parse its config file in a single pass and
removes the need for the *_SET siglevels in alpm that were only required
pacman's siglevel inheritance.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
conf.c: parse config in a single pass

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
ini: remove final callback call

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
ini.c: move Include parsing to conf.c

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
consolidate ini parser

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
ini.c: remove empty section name restriction

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
ini.c remove useless key check

key points to a statically allocated string, it can't be NULL.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
ini.c: move error output into conf.c

Move the remaining output into conf.c by notifying the callback of read
errors.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>