config: Export a function to load service configs
authorHenri Bragge <henri.bragge@ixonos.com>
Fri, 1 Apr 2011 08:41:40 +0000 (11:41 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 11 Apr 2011 10:02:42 +0000 (12:02 +0200)
commitcda0efeb01e196c80c9202aba48c401daacb75a5
tree041b545c10ae1ae16d45c830112f3c9a3193bd1a
parent3092bccc020d84001dd23f76fdcb449069c8f657
config: Export a function to load service configs

__connman_config_load_service() function can be used by other parts of
ConnMan core to load service configurations, which can later be used
for service provisioning.

Within config.c, a special field (from_fs) will be used to mark which
configurations originate from the filesystem and which do not. This
information is needed to manage service immutability. Also a special
name "internal" will be used to label the "file" used for non-fs
configurations. A real file will not be created by ConnMan, and it will
be silently ignored if created by someone else. Filesystem storage can
be implemented later if necessary.
src/config.c
src/connman.h