summaryrefslogtreecommitdiff
path: root/lib/init.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2013-09-11 11:56:08 +0000
committerJean Delvare <khali@linux-fr.org>2013-09-11 11:56:08 +0000
commita3f215218f9b5795188dcda80516c339a94deb3e (patch)
treec06acaa535859a1ccd45eb86f11687a2dc2ad51c /lib/init.c
parentec4160f771c91297ffff181490b9ca0672aa5f4a (diff)
downloadlm-sensors-git-a3f215218f9b5795188dcda80516c339a94deb3e.tar.gz
Extend the documentation of sensors_init() and
sensors_get_adapter_name(). Paul Crawford asked questions about these as he found the original documentation unclear. I'm including my answers to his questions here, reformatted, so that other developers can benefit from them too.
Diffstat (limited to 'lib/init.c')
-rw-r--r--lib/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/init.c b/lib/init.c
index ee1d451a..594d6ba6 100644
--- a/lib/init.c
+++ b/lib/init.c
@@ -175,6 +175,8 @@ static int add_config_from_dir(const char *dir)
return res;
}
+/* Ideally, initialization and configuraton file loading should be exposed
+ separately, to make it possible to load several configuration files. */
int sensors_init(FILE *input)
{
int res;