Show
Ignore:
Timestamp:
09/23/07 14:16:50 (6 years ago)
Author:
khali
Message:

Introduce a separate type for main features. Make subfeatures map to
the real main feature rather than the first subfeature.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/lib/libsensors.3

    r4836 r4838  
    135135\fBconst sensors_subfeature *sensors_get_all_subfeatures(const sensors_chip_name *name, const sensors_feature *feature, int *nr);\fP 
    136136.br 
    137 This returns all subfeatures of a given main feature (including that 
    138 main feature itself, in first position.) nr is an internally used 
    139 variable. Set it to zero to start at the begin of the list. If no more 
    140 subfeatures are found NULL is returned. 
     137This returns all subfeatures of a given main feature. nr is an internally 
     138used variable. Set it to zero to start at the begin of the list. If no 
     139more subfeatures are found NULL is returned. 
    141140Do not try to change the returned structure; you will corrupt internal 
    142141data structures.