diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-10-20 13:01:24 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-10-20 13:01:24 (GMT) |
commit | b1c08dd388a86d9a9d7c379ca143ae85310c3c68 (patch) | |
tree | a1a078e09ce4d8bd0db24c9139d5fad640353d79 /src/analysis/db/snapshot.h | |
parent | f2c79b92f09fa796afe66d5886e678e9a7275ac1 (diff) |
Provided a way to update snapshots name and description.
Diffstat (limited to 'src/analysis/db/snapshot.h')
-rw-r--r-- | src/analysis/db/snapshot.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/analysis/db/snapshot.h b/src/analysis/db/snapshot.h index 543d184..457e8c2 100644 --- a/src/analysis/db/snapshot.h +++ b/src/analysis/db/snapshot.h @@ -77,6 +77,12 @@ sqlite3 *g_db_snapshot_get_database(const GDbSnapshot *, const snapshot_id_t *); /* Collecte les descriptions de l'ensemble des instantanés. */ bool g_db_snapshot_pack_all(const GDbSnapshot *, packed_buffer *); +/* Actualise la désignation d'un instantané donné. */ +DBError g_db_snapshot_set_name(const GDbSnapshot *, packed_buffer *); + +/* Actualise la description d'un instantané donné. */ +DBError g_db_snapshot_set_desc(const GDbSnapshot *, packed_buffer *); + #endif /* _ANALYSIS_DB_SNAPSHOT_H */ |