summaryrefslogtreecommitdiff
path: root/src/analysis/db/client.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-10-24 21:59:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-10-24 21:59:55 (GMT)
commita9c607a1be25b43a17ea55b21459a0433f4f3d5b (patch)
tree0bc9018cb2b533d32cf8693871eef563835973b0 /src/analysis/db/client.h
parent7ba652c99e843b21c108fc242b8faa7f5f9502c0 (diff)
Provided a dialog box to manage snapshots.
Diffstat (limited to 'src/analysis/db/client.h')
-rw-r--r--src/analysis/db/client.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/analysis/db/client.h b/src/analysis/db/client.h
index 5ad4ed0..af47b5c 100644
--- a/src/analysis/db/client.h
+++ b/src/analysis/db/client.h
@@ -89,6 +89,15 @@ bool g_hub_client_set_snapshot_name(GHubClient *, const snapshot_id_t *, const c
/* Définit la description d'un instantané donné. */
bool g_hub_client_set_snapshot_desc(GHubClient *, const snapshot_id_t *, const char *);
+/* Restaure un ancien instantané. */
+bool g_hub_client_restore_snapshot(GHubClient *, const snapshot_id_t *);
+
+/* Crée un nouvel instantané à partir d'un autre. */
+bool g_hub_client_create_snapshot(GHubClient *, const snapshot_id_t *);
+
+/* Supprime un ancien instantané. */
+bool g_hub_client_remove_snapshot(GHubClient *, const snapshot_id_t *, bool);
+
#endif /* _ANALYSIS_DB_CLIENT_H */