summaryrefslogtreecommitdiffstats
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-12 23:31:47 +0100
commit4de9bf65faac31533e2b4ba97e8c767631a43e31 (patch)
tree059dcc165dc6df0c1a470ab3fd4eefcc90826b99
parentd2c9a8dac8f11b2a0df3a8b325fda51a8912afed (diff)
downloadeurephia-4de9bf65faac31533e2b4ba97e8c767631a43e31.tar.gz
eurephia-4de9bf65faac31533e2b4ba97e8c767631a43e31.tar.xz
eurephia-4de9bf65faac31533e2b4ba97e8c767631a43e31.zip
More driver API clean up
-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.