summaryrefslogtreecommitdiff
path: root/src/analysis/db/misc
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-10-15 06:39:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-10-15 06:39:47 (GMT)
commitbcdf953ef6616c404d013f3473fb12a7bf43440b (patch)
treeed3444f295da93da4aa2f64e59914ac439eff714 /src/analysis/db/misc
parentf439711a77e0719e7f1dcf4b5c5511157986c918 (diff)
Switched to snapshot information structures.
Diffstat (limited to 'src/analysis/db/misc')
-rw-r--r--src/analysis/db/misc/snapshot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/analysis/db/misc/snapshot.h b/src/analysis/db/misc/snapshot.h
index e3a003c..37fad7f 100644
--- a/src/analysis/db/misc/snapshot.h
+++ b/src/analysis/db/misc/snapshot.h
@@ -96,6 +96,11 @@ bool init_snapshot_info_from_text(snapshot_info_t *, const char *, uint64_t, con
/* Libère la mémoire occupée par une description d'instantané. */
void exit_snapshot_info(snapshot_info_t *);
+#define get_snapshot_info_id(nfo) &(nfo)->id
+#define get_snapshot_info_creation(nfo) (nfo)->created
+#define get_snapshot_info_name(nfo) (nfo)->name
+#define get_snapshot_info_desc(nfo) (nfo)->desc
+
/* Effectue une copie de description d'instantané. */
void copy_snapshot_info(snapshot_info_t *, const snapshot_info_t *);