summaryrefslogtreecommitdiff
path: root/src/analysis/db/snapshot.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-06-01 22:32:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-06-01 22:32:50 (GMT)
commit9eab0a0903303d3c93872e7e4b6b1cb774b69b03 (patch)
treeae8594cae830118ca3a92ee60242490e58c14a9e /src/analysis/db/snapshot.h
parent1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff)
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/analysis/db/snapshot.h')
-rw-r--r--src/analysis/db/snapshot.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/analysis/db/snapshot.h b/src/analysis/db/snapshot.h
index 8737f8c..7f8a82a 100644
--- a/src/analysis/db/snapshot.h
+++ b/src/analysis/db/snapshot.h
@@ -75,22 +75,22 @@ bool g_db_snapshot_get_current_id(const GDbSnapshot *, snapshot_id_t *);
sqlite3 *g_db_snapshot_get_database(const GDbSnapshot *);
/* Collecte les descriptions de l'ensemble des instantanés. */
-bool g_db_snapshot_pack_all(const GDbSnapshot *, packed_buffer *);
+bool g_db_snapshot_pack_all(const GDbSnapshot *, packed_buffer_t *);
/* Actualise la désignation d'un instantané donné. */
-DBError g_db_snapshot_set_name(const GDbSnapshot *, packed_buffer *);
+DBError g_db_snapshot_set_name(const GDbSnapshot *, packed_buffer_t *);
/* Actualise la description d'un instantané donné. */
-DBError g_db_snapshot_set_desc(const GDbSnapshot *, packed_buffer *);
+DBError g_db_snapshot_set_desc(const GDbSnapshot *, packed_buffer_t *);
/* Restaure un instantané de l'arborescence. */
-DBError g_db_snapshot_restore(GDbSnapshot *, packed_buffer *, bool *);
+DBError g_db_snapshot_restore(GDbSnapshot *, packed_buffer_t *, bool *);
/* Crée un nouvel instantanés dans l'arborescence. */
DBError g_db_snapshot_create(GDbSnapshot *, sqlite3 *);
/* Supprime un instantané dans l'arborescence. */
-DBError g_db_snapshot_remove(GDbSnapshot *, packed_buffer *, bool *);
+DBError g_db_snapshot_remove(GDbSnapshot *, packed_buffer_t *, bool *);