root/lm-sensors/trunk/doc/libsensors-API.txt @ 5663

Revision 5663, 2.0 KB (checked in by khali, 5 years ago)

Set library version to 4.1.0.

Line 
1libsensors API history
2======================
3
4SENSORS_API_VERSION tracks the evolutions made to the libsensors API
5over time. This document summarizes these evolutions so that application
6authors can quickly figure out how to test for the availability of a
7given new feature.
8
90x410   lm-sensors 3.1.0
10* Added bus type "acpi":
11  #define SENSORS_BUS_TYPE_ACPI
12* Added support for instantaneous power sensors
13  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT
14  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT_HIGHEST
15  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT_LOWEST
16* Added support for current sensors
17  enum sensors_feature_type SENSORS_FEATURE_CURR
18  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_INPUT
19  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MIN
20  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MAX
21  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_ALARM
22  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MIN_ALARM
23  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MAX_ALARM
24  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_BEEP
25* Added error value for excessive recursion depth
26  #define SENSORS_ERR_RECURSION 11
27* Added parse error reporting function including the configuration file
28  name
29  extern void (*sensors_parse_error_wfn) (const char *err,
30                                          const char *filename, int lineno);
31
320x401   lm-sensors 3.0.2 to 3.0.3
33* Added bus type "virtual":
34  #define SENSORS_BUS_TYPE_VIRTUAL
35* Added support for power and energy sensors
36  enum sensors_feature_type SENSORS_FEATURE_POWER
37  enum sensors_feature_type SENSORS_FEATURE_ENERGY
38  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE
39  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_HIGHEST
40  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_LOWEST
41  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_INTERVAL
42  enum sensors_subfeature_type SENSORS_SUBFEATURE_ENERGY_INPUT
43
440x400   lm-sensors 3.0.0 to 3.0.1
45* Initial API.
Note: See TracBrowser for help on using the browser.