From 628a7526d3357e514257f2d7bdbe1b515887b9e3 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 22 Oct 2007 19:29:02 +0000 Subject: [PATCH] add SENSORS_API_VERSION define git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4979 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 049a4620..67ba7fda 100644 --- a/lib/sensors.h +++ b/lib/sensors.h @@ -24,6 +24,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 0x300 + #define SENSORS_CHIP_NAME_PREFIX_ANY NULL #define SENSORS_CHIP_NAME_BUS_ISA -1 #define SENSORS_CHIP_NAME_BUS_ANY -2