summaryrefslogtreecommitdiff
path: root/lib/access.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-09-23 12:07:53 +0000
committerJean Delvare <khali@linux-fr.org>2007-09-23 12:07:53 +0000
commite13c11d353009a3e750ad45a79381c1405279f1f (patch)
treef14576d603678ea54427d70505ec962711741845 /lib/access.h
parent9fe2b3c714225986f87404d060db12c34b4a67ca (diff)
downloadlm-sensors-git-e13c11d353009a3e750ad45a79381c1405279f1f.tar.gz
Update the comments and symbols in the whole library code to refer to
features and subfeatures as appropriate. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4836 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/access.h')
-rw-r--r--lib/access.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/access.h b/lib/access.h
index 3e569de4..0ba96ce9 100644
--- a/lib/access.h
+++ b/lib/access.h
@@ -23,11 +23,12 @@
#include "sensors.h"
#include "data.h"
-/* Look up a resource in the intern chip list, and return a pointer to it.
+/* Look up a subfeature in the intern chip list, and return a pointer to it.
Do not modify the struct the return value points to! Returns NULL if
not found. */
-const sensors_subfeature *sensors_lookup_feature_nr(const sensors_chip_name *chip,
- int feature);
+const sensors_subfeature *
+sensors_lookup_subfeature_nr(const sensors_chip_name *chip,
+ int subfeat_nr);
/* Check whether the chip name is an 'absolute' name, which can only match
one chip, or whether it has wildcards. Returns 0 if it is absolute, 1