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/sqlite | |
| 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/sqlite')
| -rw-r--r-- | database/sqlite/edb-sqlite.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/database/sqlite/edb-sqlite.c b/database/sqlite/edb-sqlite.c index bcbf3ec..d4c0a90 100644 --- a/database/sqlite/edb-sqlite.c +++ b/database/sqlite/edb-sqlite.c @@ -39,9 +39,10 @@ #include <memwatch.h> #endif - -#define DRIVERVERSION "1.0" -#define DRIVERAPIVERSION 1 +#define DRIVERVERSION "1.1" +#ifndef DRIVERAPIVERSION +# define DRIVERAPIVERSION 2 +#endif // Mapping table - mapping attempt types from .... to sqlite table fields typedef struct { @@ -898,3 +899,13 @@ eurephiaVALUES *eDBget_blacklisted_ip(eurephiaCTX *ctx) { return ret; } + + +#if DRIVERAPIVERSION > 1 +/* + * API Version 2 functions + * + */ + + +#endif |
