summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/vmpa.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/vmpa.h b/src/arch/vmpa.h
index 9905241..f20cff0 100644
--- a/src/arch/vmpa.h
+++ b/src/arch/vmpa.h
@@ -135,10 +135,15 @@ vmpa2t *string_to_vmpa_phy(const char *);
vmpa2t *string_to_vmpa_virt(const char *);
/* Définition du tronc commun pour les créations SQLite */
+
#define SQLITE_SIMPLE_VMPA_CREATE \
"phys INTEGER, " \
"virt INTEGER"
+#define SQLITE_VMPA_CREATE(bn) \
+ bn "_phys INTEGER, " \
+ bn "_virt _INTEGER"
+
/* Décrit les colonnes utiles à un chargement de données. */
bool setup_load_for_vmpa(const vmpa2t *, const char *, bound_value **, size_t *);