summaryrefslogtreecommitdiff
path: root/src/arch/vmpa.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-03-16 23:32:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-03-16 23:32:29 (GMT)
commit4021e5f02ce71b35423852cd89fb6f0f2776f7b8 (patch)
tree8f0bbd1632d05d586f7d4af71a80a02906efd5c3 /src/arch/vmpa.h
parentb94be85e00d7770af4de93bbba91b421cfb6faea (diff)
Created a new feature and stored all main moves in the database.
Diffstat (limited to 'src/arch/vmpa.h')
-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 *);