From 2c41310ba0db7614ad1def7d4f201c273c9654e9 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 22 Oct 2007 09:39:15 +0000 Subject: [PATCH] add SENSORS_API_VERSION define to sensors.h git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4975 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/sensors.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/sensors.h b/lib/sensors.h index ae35dbe2..96332a4a 100644 --- a/lib/sensors.h +++ b/lib/sensors.h @@ -26,6 +26,12 @@ /* Publicly accessible library functions */ +/* libsensors API version define, first digit is the major version (changed + when the API + ABI breaks), the third digit is incremented to track small + API additions like new flags / enum values. The second digit is for tracking + larger additions like new methods. */ +#define SENSORS_API_VERSION 400 + #define SENSORS_CHIP_NAME_PREFIX_ANY NULL #define SENSORS_CHIP_NAME_ADDR_ANY -1