summaryrefslogtreecommitdiff
path: root/src/arch/vmpa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/vmpa.h')
-rw-r--r--src/arch/vmpa.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/vmpa.h b/src/arch/vmpa.h
index 52c5d6a..f0a8faf 100644
--- a/src/arch/vmpa.h
+++ b/src/arch/vmpa.h
@@ -34,6 +34,7 @@
#include "archbase.h"
#include "../common/cpp.h"
+#include "../common/sqlite.h"
@@ -117,6 +118,14 @@ vmpa2t *string_to_vmpa_phy(const char *);
/* Transforme une chaîne de caractères en adresse virtuelle. */
vmpa2t *string_to_vmpa_virt(const char *);
+/* Définition du tronc commun pour les créations SQLite */
+#define SQLITE_VMPA_CREATE \
+ "phys INTEGER, " \
+ "virt INTEGER, "
+
+/* Constitue les champs destinés à une insertion / modification. */
+bool prepare_vmpa_db_statement(const vmpa2t *, bool, bound_value **, size_t *);
+
/* ------------------------ DEFINITION D'UNE ZONE EN MEMOIRE ------------------------ */