diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-10-24 22:13:40 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-10-24 22:15:59 (GMT) |
commit | 55faf115708f8448c1dbbb1798ac115e8021e45f (patch) | |
tree | 995059fb5d651b29ebc457c7c11396eba53867ec /src/analysis/db/cdb.h | |
parent | da03e81474f8e5271c61cb88cb56bb1f9e2b3cfd (diff) |
Use the loaded content class hints in the DB archives.
Diffstat (limited to 'src/analysis/db/cdb.h')
-rw-r--r-- | src/analysis/db/cdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/db/cdb.h b/src/analysis/db/cdb.h index b2c3fc3..7a557f2 100644 --- a/src/analysis/db/cdb.h +++ b/src/analysis/db/cdb.h @@ -54,7 +54,7 @@ typedef struct _GCdbArchiveClass GCdbArchiveClass; 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 *); +GCdbArchive *g_cdb_archive_new(const char *, const char *, const rle_string *, const rle_string *, DBError *); /* Construit un chemin pour un fichier propre à l'archive. */ char *g_cdb_archive_get_tmp_filename(const GCdbArchive *, const char *); @@ -62,8 +62,8 @@ 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 *); -/* Détermine si une empreinte correspond à celle d'une archive. */ -int g_cdb_archive_compare_hash(const GCdbArchive *, const rle_string *); +/* Détermine l'archive correspond à une cible recherchée. */ +bool g_cdb_archive_compare_is_suitable_for(const GCdbArchive *, const rle_string *, const rle_string *); |