summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-11-04 17:39:22 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2009-11-04 17:39:22 +0100
commitcf6bc9dddc1484dd10fc068eb4af18ae57043cc4 (patch)
tree2a883d0ad416b7edb89d6a421e4411d93b903ba7 /common
parent6d18a20f14b10175f96fc3b99c7df8ee0f73ff88 (diff)
downloadeurephia-cf6bc9dddc1484dd10fc068eb4af18ae57043cc4.tar.gz
eurephia-cf6bc9dddc1484dd10fc068eb4af18ae57043cc4.tar.xz
eurephia-cf6bc9dddc1484dd10fc068eb4af18ae57043cc4.zip
More driver API clean up
Diffstat (limited to 'common')
-rw-r--r--common/eurephiadb_session_common.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/common/eurephiadb_session_common.c b/common/eurephiadb_session_common.c
index f9fc795..9fe36f4 100644
--- a/common/eurephiadb_session_common.c
+++ b/common/eurephiadb_session_common.c
@@ -39,18 +39,8 @@
#include <eurephia_log.h>
#include <eurephia_values.h>
#include <eurephiadb_session_struct.h>
+#include <eurephiadb_driver.h>
-
-#ifndef DOXYGEN
-#ifndef DRIVER_MODE // Use the right declaration, depending on if we compile driver or plug-in/exec
-// Function needed to be found in the database driver
-int (*eDBstore_session_value) (eurephiaCTX *ctx, eurephiaSESSION *session, int mode,
- const char *key, const char *val);
-#else
-int eDBstore_session_value (eurephiaCTX *ctx, eurephiaSESSION *session, int mode,
- const char *key, const char *val);
-#endif /* !DRIVER_MODE */
-#endif /* !DOXYGEN */
/**
* Adds or updates a key in the eurephiaVALUES stack. Database is updated before the stack is updated.
* If database fails, the stack is not updated.