summaryrefslogtreecommitdiff
path: root/src/analysis/db/cdb.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-08-01 20:41:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-08-01 20:41:42 (GMT)
commit802e8d68991e6644486ff14882c5c441e44117e6 (patch)
tree23c77af2d7c2aa517d994434af12606f510ab048 /src/analysis/db/cdb.h
parent2ea2e6080eec1b06bbd4607203d34f38b75c80f3 (diff)
Build archive temporary filenames from one place.
Diffstat (limited to 'src/analysis/db/cdb.h')
-rw-r--r--src/analysis/db/cdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analysis/db/cdb.h b/src/analysis/db/cdb.h
index 2dd8118..b2c3fc3 100644
--- a/src/analysis/db/cdb.h
+++ b/src/analysis/db/cdb.h
@@ -56,6 +56,9 @@ GType g_cdb_archive_get_type(void);
/* Prépare un client pour une connexion à une BD. */
GCdbArchive *g_cdb_archive_new(const char *, const char *, const rle_string *, DBError *);
+/* Construit un chemin pour un fichier propre à l'archive. */
+char *g_cdb_archive_get_tmp_filename(const GCdbArchive *, const char *);
+
/* Enregistre une archive avec tous les éléments à conserver. */
DBError g_cdb_archive_write(const GCdbArchive *);