typedef struct featurelist {
const sensors_chip_name *chip;
const sensors_feature *feature;
typedef struct featurelist {
const sensors_chip_name *chip;
const sensors_feature *feature;
else if (strcasecmp(key, "UseLabels") == 0) {
use_labels = IS_TRUE(value) ? 1 : 0;
}
else if (strcasecmp(key, "UseLabels") == 0) {
use_labels = IS_TRUE(value) ? 1 : 0;
}
chip_num = 0;
while ((chip = sensors_get_detected_chips(NULL, &chip_num)) != NULL) {
const sensors_feature *feature;
chip_num = 0;
while ((chip = sensors_get_detected_chips(NULL, &chip_num)) != NULL) {
const sensors_feature *feature;
value_list_t vl = VALUE_LIST_INIT;
status = snprintf(match_key, sizeof(match_key), "%s/%s-%s", plugin_instance,
value_list_t vl = VALUE_LIST_INIT;
status = snprintf(match_key, sizeof(match_key), "%s/%s-%s", plugin_instance,
sensors_submit(plugin_instance, type, type_instance, value);
} /* for fl = first_feature .. NULL */
sensors_submit(plugin_instance, type, type_instance, value);
} /* for fl = first_feature .. NULL */