summaryrefslogtreecommitdiff
path: root/src/analysis/db/snapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/db/snapshot.h')
-rw-r--r--src/analysis/db/snapshot.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/analysis/db/snapshot.h b/src/analysis/db/snapshot.h
index 452debd..f568ba3 100644
--- a/src/analysis/db/snapshot.h
+++ b/src/analysis/db/snapshot.h
@@ -34,6 +34,7 @@
#include "protocol.h"
+#include "misc/snapshot.h"
@@ -68,10 +69,10 @@ bool g_db_snapshot_fill(GDbSnapshot *, struct archive *);
DBError g_db_snapshot_save(const GDbSnapshot *, xmlDocPtr, xmlXPathContextPtr, struct archive *);
/* Fournit l'identifiant de l'instanné courant. */
-const char *g_db_snapshot_get_current_id(const GDbSnapshot *);
+bool g_db_snapshot_get_current_id(const GDbSnapshot *, snapshot_id_t *);
/* Fournit la base de données correspondant à instanné donné. */
-sqlite3 *g_db_snapshot_get_database(const GDbSnapshot *, const char *);
+sqlite3 *g_db_snapshot_get_database(const GDbSnapshot *, const snapshot_id_t *);