Changeset 4647
- Timestamp:
- 08/09/07 10:39:41 (1 year ago)
- Files:
-
- lm-sensors/branches/lm-sensors-3.0.0/CHANGES (modified) (1 diff)
- lm-sensors/branches/lm-sensors-3.0.0/lib/access.c (modified) (1 diff)
- lm-sensors/branches/lm-sensors-3.0.0/lib/libsensors.3 (modified) (2 diffs)
- lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r4642 r4647 18 18 Fix a memory leak on error 19 19 Speed up sensors_get_ignored() a bit 20 No longer export sensors_chip_name_has_wildcards() 20 21 Makefile: Drop the package and version targets 21 22 Man page sensors.conf.5: Update the chip statement section lm-sensors/branches/lm-sensors-3.0.0/lib/access.c
r4646 r4647 133 133 one chip, or whether it has wildcards. Returns 0 if it is absolute, 1 134 134 if there are wildcards. */ 135 int sensors_chip_name_has_wildcards(sensors_chip_name chip)135 static int sensors_chip_name_has_wildcards(sensors_chip_name chip) 136 136 { 137 137 if ((chip.prefix == SENSORS_CHIP_NAME_PREFIX_ANY) || lm-sensors/branches/lm-sensors-3.0.0/lib/libsensors.3
r4643 r4647 38 38 .B int sensors_match_chip(sensors_chip_name chip1, 39 39 \fBsensors_chip_name chip2);\fP 40 .B int sensors_chip_name_has_wildcards(sensors_chip_name chip);41 40 .B const char *sensors_get_adapter_name(int bus_nr); 42 41 .B int sensors_get_label(sensors_chip_name name, int feature, … … 72 71 .br 73 72 Compare two chips name descriptions, to see whether they could match. Return 0 if it does not match, return 1 if it does match. 74 75 \fBint sensors_chip_name_has_wildcards76 (sensors_chip_name chip);\fP77 .br78 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 if there are wildcards.79 73 80 74 .B const char *sensors_get_adapter_name(int bus_nr); lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.h
r4644 r4647 66 66 extern int sensors_match_chip(sensors_chip_name chip1, 67 67 sensors_chip_name chip2); 68 69 /* Check whether the chip name is an 'absolute' name, which can only match70 one chip, or whether it has wildcards. Returns 0 if it is absolute, 171 if there are wildcards. */72 extern int sensors_chip_name_has_wildcards(sensors_chip_name chip);73 68 74 69 /* This function returns the adapter name of a bus number,
