summaryrefslogtreecommitdiff
path: root/lib/init.c
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2013-09-11 11:56:08 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2013-09-11 11:56:08 +0000
commitedc78ce52b0ba318050a507bddae2cc4073a8a28 (patch)
treec06acaa535859a1ccd45eb86f11687a2dc2ad51c /lib/init.c
parentdd64578142d03c2af1b167d065b37eebc329675c (diff)
downloadlm-sensors-edc78ce52b0ba318050a507bddae2cc4073a8a28.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. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6195 7894878c-1315-0410-8ee3-d5d059ff63e0
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;