diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2008-11-28 13:00:33 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2008-11-28 13:00:33 +0100 |
commit | 4dabdc0e154b3be0c9b64d97041502b01662ed43 (patch) | |
tree | af1831e4f7bc8560d33ce53d5c52945c52b3d9c8 /database/eurephiadb-driver_template.c | |
parent | dd9f3ba31ddfeb1ab54b61128769a64c266f7c4a (diff) | |
download | eurephia-4dabdc0e154b3be0c9b64d97041502b01662ed43.tar.gz eurephia-4dabdc0e154b3be0c9b64d97041502b01662ed43.tar.xz eurephia-4dabdc0e154b3be0c9b64d97041502b01662ed43.zip |
Rough preparation of the db drivers for API ver 2
Diffstat (limited to 'database/eurephiadb-driver_template.c')
-rw-r--r-- | database/eurephiadb-driver_template.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/database/eurephiadb-driver_template.c b/database/eurephiadb-driver_template.c index 82d21e0..27a17d1 100644 --- a/database/eurephiadb-driver_template.c +++ b/database/eurephiadb-driver_template.c @@ -43,6 +43,12 @@ #include <passwd.h> +#define DRIVERVERSION "1.0" +#ifndef DRIVERAPIVERSION +# define DRIVERAPIVERSION 1 // Set this value to 2 to support admin utilities +#endif + + // Mapping table - mapping attempt types from .... to database table fields typedef struct { char *colname; @@ -957,3 +963,12 @@ eurephiaVALUES *eDBget_blacklisted_ip(eurephiaCTX *ctx) { return ret; } + + +#if DRIVERAPIVERSION > 1 +/* + * API Version 2 functions + * + */ + +#endif |