summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.