From 56e301c8b524575efbb94a73f2fae7c232a0994f Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 23 Sep 2007 18:00:20 +0000 Subject: [PATCH] Document struct_feature. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4860 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/libsensors.3 | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/libsensors.3 b/lib/libsensors.3 index ec8eb025..43d3cc6c 100644 --- a/lib/libsensors.3 +++ b/lib/libsensors.3 @@ -104,16 +104,32 @@ To start at the beginning of the list, use 0 for nr; NULL is returned if we are at the end of the list. Do not try to change these chip names, as they point to internal structures! -This structure contains information related to a given subfeature of a +This structure contains information related to a given feature of a specific chip. .br +\fBtypedef struct sensors_feature { +.br + const char *name; +.br + int number; +.br + sensors_feature_type type; +.br +} sensors_feature;\fP +.br +There are other member not documented here, which are only meant for libsensors +internal use. + +This structure contains information related to a given subfeature of a +specific chip feature. +.br \fBtypedef struct sensors_subfeature { .br const char *name; .br int number; .br - sensors_feature_type type; + sensors_subfeature_type type; .br int mapping; .br