summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-16 09:36:10 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-16 09:36:10 +0200
commit73917abf6036ab12f9c47545bba4395798003d86 (patch)
tree2cde3a9a46cc38b6c620c203307ad0ff2d63fe99 /config.h
parent5dccc91c62206980c9e5e6abbc9fb4865fed209a (diff)
downloadvdr-73917abf6036ab12f9c47545bba4395798003d86.tar.gz
vdr-73917abf6036ab12f9c47545bba4395798003d86.tar.bz2
Implemented APIVERSION for the VDR plugin API version number
Diffstat (limited to 'config.h')
-rw-r--r--config.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/config.h b/config.h
index 14cd0b8b..7e518bde 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.250 2006/04/14 09:46:32 kls Exp $
+ * $Id: config.h 1.251 2006/04/16 09:36:10 kls Exp $
*/
#ifndef __CONFIG_H
@@ -19,9 +19,22 @@
#include "i18n.h"
#include "tools.h"
+// VDR's own version number:
+
#define VDRVERSION "1.3.47"
#define VDRVERSNUM 10347 // Version * 10000 + Major * 100 + Minor
+// The plugin API's version number:
+
+#define APIVERSION "1.3.47"
+#define APIVERSNUM 10347 // Version * 10000 + Major * 100 + Minor
+
+// When loading plugins, VDR searches them by their APIVERSION, which
+// may be smaller than VDRVERSION in case there have been no changes to
+// VDR header files since the last APIVERSION. This allows compiled
+// plugins to work with newer versions of the core VDR as long as no
+// VDR header files have changed.
+
#define MAXPRIORITY 99
#define MAXLIFETIME 99