Refactor configuration
authorSteven Luo <steven+maemo@steven676.net>
Tue, 25 May 2010 13:41:42 +0000 (06:41 -0700)
committerSteven Luo <steven+maemo@steven676.net>
Tue, 25 May 2010 13:41:42 +0000 (06:41 -0700)
commitec8b58af1b1cf22f34478faf476047e7ce996245
tree6dba3edd8830cd4c2d3b1f9873924152bf56146b
parentebfd6218aa25d59ce3fcc2330ca62a77c6c754f8
Refactor configuration

Most of the code for loading configuration from the config file was
being duplicated between the UI and the main browser-switchboard code;
also, the forthcoming command-line configuration tool should share the
code for loading and saving configuration with the UI.  Therefore,
move code for loading and saving configuration information into
functions generic enough to be shared between the UIs and
browser-switchboard.
Makefile
config-ui/Makefile
config-ui/browser-switchboard-cp.c
config-ui/save-config.c [new file with mode: 0644]
config.c [new file with mode: 0644]
config.h [new file with mode: 0644]
main.c