Show
Ignore:
Timestamp:
09/19/07 17:11:34 (7 years ago)
Author:
khali
Message:

Add generic chip support to sensord, much like sensors has.
Alarm and beep mask support is still missing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/sensord/sensord.h

    r4804 r4817  
    9292  int alarmMask; 
    9393  int beepMask; 
    94   const int dataNumbers[MAX_DATA + 1]; /* First entry is used for the label */ 
     94  int dataNumbers[MAX_DATA + 1]; /* First entry is used for the label */ 
    9595} FeatureDescriptor; 
    9696 
    9797typedef struct { 
    98   const char * const *names; 
    99   const FeatureDescriptor *features; 
     98  FeatureDescriptor *features; 
    10099  int alarmNumber; 
    101100  int beepNumber; 
    102101} ChipDescriptor; 
    103102 
    104 extern const ChipDescriptor * const knownChips[]; 
     103extern ChipDescriptor * generateChipDescriptor (const sensors_chip_name *chip);